comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: Compilation switches by file
Date: Fri, 21 Jan 2005 09:10:25 +0100
Date: 2005-01-21T09:10:25+01:00	[thread overview]
Message-ID: <6443362.uYuJN6vE8c@linux1.krischik.com> (raw)
In-Reply-To: 1106262177.779074.77660@f14g2000cwb.googlegroups.com

danmcleran@hotmail.com wrote:

> I'm using GNAT 3.15p along with some AI302 stuff. I ran into a problem
> because my gnat.adc file had the following pragma
> 
> pragma Restrictions(No_Recursion);
> 
> But, it seems that some of the AI302 stuff uses recursion. I'd like to
> compile my stuff with one set of restrictions, while compiling the
> AI302 stuff under a different set of restrictions. Are Gnat project
> files the easiest way to do this?

Yes Project files allow for option to be set on a per package basis. But
there must be a reason why your project has disalowed recursion - check
with your prject manager first ;-) .

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



      parent reply	other threads:[~2005-01-21  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 23:02 Compilation switches by file danmcleran
2005-01-21  4:40 ` Stephen Leake
2005-01-21  8:10 ` Martin Krischik [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