From: Gautier Write-only <gautier@fakeaddress.nil>
Subject: Re: Gnat 3.15p pragma issues
Date: Thu, 03 Nov 2005 18:42:53 +0100
Date: 2005-11-03T18:42:53+01:00 [thread overview]
Message-ID: <436A4C1D.AF504D18@fakeaddress.nil> (raw)
In-Reply-To: 1131029395.700984.154230@f14g2000cwb.googlegroups.com
Erik Woulfe wrote:
> I am attempting to move a large amount of code from an Apex compiler
> system to the Gnat 3.15p compiler in order to gain more flexibility in
> mutli-language code interaction (namely between C++ and Ada). One of
> the problems that I encounter when making this move is that the Gnat
> compiler does not recognize many of the pragma statements that Apex had
> no problems with. However, I do not think that any/all of these are
> Apex specific, such as pragma "Inline" and pragma "Not_Elaborated". Has
> anyone had any experience with having common pragmas not being
> recognized? Am I perhaps not referencing the correct libraries in my
> gnatmake call?
>
> Thanks for any help.
The standard pragma Inline is recognized by GNAT (since 3.07p or 3.10p at latest), but in order to make it active cross-unit, you need to compile with the -gnatn switch.
HTH
______________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, e-mail address on the Web site!
next prev parent reply other threads:[~2005-11-03 17:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-03 15:03 Gnat 3.15p pragma issues Erik Woulfe
2005-11-03 16:00 ` Colin Paul Gloster
2005-11-03 22:56 ` Robert A Duff
2005-11-04 2:12 ` pragma Convention ignored (sometimes) Anonymous Coward
2005-11-04 5:19 ` Jeffrey R. Carter
2005-11-05 2:54 ` Justin Gombos
2005-11-03 17:42 ` Gautier Write-only [this message]
2005-11-03 23:00 ` Gnat 3.15p pragma issues Robert A Duff
2005-11-04 2:51 ` Steve
2005-11-04 13:02 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox