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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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!proxad.net!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Compilation switches by file Date: 20 Jan 2005 23:40:12 -0500 Organization: Cuivre, Argent, Or Message-ID: References: <1106262177.779074.77660@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1106282437 83206 212.85.156.195 (21 Jan 2005 04:40:37 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 21 Jan 2005 04:40:37 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <1106262177.779074.77660@f14g2000cwb.googlegroups.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:7924 Date: 2005-01-20T23:40:12-05:00 danmcleran@hotmail.com writes: > 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. See the reference manual; it has the complete syntax for the project files. The user guide is just a tutorial. -- -- Stephe