comp.lang.ada
 help / color / mirror / Atom feed
From: "Alexander Boucke" <alexb@lufmech.rwth-aachen.de>
Subject: Re: Renaming subprogram and default_expression
Date: Thu, 14 Feb 2002 15:01:21 +0100
Date: 2002-02-14T14:01:26+00:00	[thread overview]
Message-ID: <a4gfvm$qek$1@nets3.rz.RWTH-Aachen.DE> (raw)
In-Reply-To: 87sn84i80s.fsf@deneb.enyo.de


Florian Weimer wrote in message <87sn84i80s.fsf@deneb.enyo.de>...
>Christoph Grein <christoph.grein@eurocopter.com> writes:
>
>> So it looks OK. Did some compiler complain?
>
>GNAT 3.14p and GNAT 5.00w, both with the same, confusing error
>message: 'default expression for "X" does not match'.

I had the same Error message trying to compile the strings_edit package from
D. Kazakov (could be found on AdaPower.com). The package compiled well with
gnat3.13p and there seems to be no error (spec and body have the same
default expressions). As in this example, there is a rename envolved and a
default-expression for a selfdefined type. There are no problems with
default expressions for booleans. Should this be an error of gnat-3.14p?
That's why I stayed with gnat-3.13p so far.

Regrards,

Alexander

P.S.: When trying to compile my program with -gnatN, the 3.14.p-compiler is
erroneous. Has anybody else noticed this?





  parent reply	other threads:[~2002-02-14 14:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14 11:52 Renaming subprogram and default_expression Christoph Grein
2002-02-14 12:04 ` Florian Weimer
2002-02-14 12:46   ` Lutz Donnerhacke
2002-02-14 13:15     ` Florian Weimer
2002-02-14 14:01   ` Alexander Boucke [this message]
2002-02-14 15:18     ` Florian Weimer
2002-02-14 15:46       ` Alexander Boucke
2002-02-14 15:58         ` Florian Weimer
2002-02-14 16:24           ` Alexander Boucke
2002-02-14 16:31           ` Larry Hazel
2002-02-14 16:35           ` Florian Weimer
2002-02-15  8:40             ` Lutz Donnerhacke
  -- strict thread matches above, loose matches on Subject: below --
2002-02-15  5:38 Christoph Grein
2002-02-14 10:51 Florian Weimer
2002-02-14 11:31 ` sk
replies disabled

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