comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT Compiler-Bug?
Date: 1997/09/11
Date: 1997-09-11T00:00:00+00:00	[thread overview]
Message-ID: <dewar.873952771@merv> (raw)
In-Reply-To: 5v3k78$dva$3@ubnnews.unisource.ch


Stefan says

<<xt-intrinsic.ads:447:05: warning: no more representation items for type
"XtConvertArgRec" defined at line 198
xt-intrinsic.ads:2799:05: representation item appears too late
gnatmake: "xt-intrinsic.adb" compilation error

With the old version (3.05) I had no such problems.
To solve it, I just moved the instruction from line 2799 (it was a
'pragma'-statement) up to line 199 and - voila - everything went right.

Could one of the GNAT-Gurus give me a answer to this problem?>>


There is no problem here. The code you quote is illegal, your fix is
the appropriate fix, and GNAT 3.05 had a bug, it did not detect the
illegality, and this bug was fixed nearly a year ago.





      parent reply	other threads:[~1997-09-11  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-09  0:00 GNAT Compiler-Bug? Stefan Muehlebach
1997-09-10  0:00 ` Pascal Obry
1997-09-11  0:00 ` Robert Dewar [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox