From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e3b37cb0106b3178 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Compilation switches by file Date: Fri, 21 Jan 2005 09:10:25 +0100 Organization: None Message-ID: <6443362.uYuJN6vE8c@linux1.krischik.com> References: <1106262177.779074.77660@f14g2000cwb.googlegroups.com> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1106295082 00 2426 D32JrwYOYqI7-D 050121 08:11:22 X-Complaints-To: usenet-abuse@t-online.de X-ID: bu3AkrZVQexUk4815JrtIFb9K8svquXrHq-BFu2uiCK6XEuPeH0Xrl User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:7928 Date: 2005-01-21T09:10:25+01:00 List-Id: 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