From: Simon Wright <simon@pushface.org>
Subject: Re: Compilation error (GNAT bug?)
Date: Tue, 20 May 2014 19:43:04 +0100
Date: 2014-05-20T19:43:04+01:00 [thread overview]
Message-ID: <lyoays70lj.fsf@pushface.org> (raw)
In-Reply-To: llg749$itn$1@speranza.aioe.org
Victor Porton <porton@narod.ru> writes:
> package My is
>
> procedure C_Raptor_New_World
> with Import => True, Convention => C, External_Name => "raptor_new_world";
>
> end My;
>
> $ gnat compile -gnat2012 my.ads
> gcc-4.6 -c -gnat2012 my.ads
> my.ads:4:11: aspect identifier expected
> gnatmake: "my.ads" compilation error
>
> Why it does not compile? Is it a GNAT bug?
No, just an old version of GNAT. GCC 4.7 fails too; 4.8 is OK. GNAT GPL
2011 fails; 2012 is OK.
next prev parent reply other threads:[~2014-05-20 18:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-20 18:32 Compilation error (GNAT bug?) Victor Porton
2014-05-20 18:43 ` Simon Wright [this message]
2014-05-20 22:22 ` spec/body/rep (Was: Compilation error (GNAT bug?)) Georg Bauhaus
2014-05-23 21:21 ` Randy Brukardt
2014-05-27 5:16 ` J-P. Rosen
2014-05-27 6:22 ` Niklas Holsti
2014-05-27 8:54 ` J-P. Rosen
2014-05-27 8:55 ` Dmitry A. Kazakov
2014-05-27 15:45 ` G.B.
2014-05-27 16:41 ` Dmitry A. Kazakov
2014-05-27 16:52 ` G.B.
2014-05-27 17:03 ` Dmitry A. Kazakov
2014-05-27 22:57 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox