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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6c7dea22b75ba442 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!eweka.nl!hq-usenetpeers.eweka.nl!proxad.net!cleanfeed2-b.proxad.net!nnrp7-2.free.fr!not-for-mail From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: Stack checking in GNAT References: <1194747665.6151.31.camel@K72> <_evZi.177931$Xa3.50640@attbi_s22> <87hcjq46t4.fsf@ludovic-brenta.org> <473abc9d$0$13104$9b4e6d93@newsspool2.arcor-online.net> <1195035988.599522.87580@50g2000hsm.googlegroups.com> <1195043147.1007.263.camel@kartoffel> <1195052954.315227.220840@o3g2000hsb.googlegroups.com> <1195056238.1007.317.camel@kartoffel> <1195058211.682783.288340@d55g2000hsg.googlegroups.com> <87pryb2e2k.fsf@willow.rfc1149.net> <87tznm1q90.fsf_-_@ludovic-brenta.org> Date: Fri, 16 Nov 2007 11:56:07 +0100 Message-ID: <87fxz631dk.fsf@willow.rfc1149.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:NU9eNTXx9+GeYufVw5Pj+hMEQcg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Leafnode-NNTP-Posting-Host: 2001:6f8:37a:2::2 Organization: Guest of ProXad - France NNTP-Posting-Date: 16 Nov 2007 12:00:01 MET NNTP-Posting-Host: 88.191.14.223 X-Trace: 1195210801 news-3.free.fr 7808 88.191.14.223:44503 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:18435 Date: 2007-11-16T12:00:01+01:00 List-Id: >>>>> "Ludovic" == Ludovic Brenta writes: Ludovic> I don't understand the difference between the flags in System Ludovic> and those in Targparm (i.e. why are there two sets of flags, Ludovic> and what happens if their values are different?). The Targparm package can be seen as a quick system.ads parser. To avoid a full semantic analysis of system.ads, Targparm reads it and set its options from system.ads. This is why you should be extra careful when modifying system.ads, even the indentation has to be correct to be understood by Targparm (note that system.ads may not be replaced by the user so this is a perfectly right way to do this for GNAT). You can see values in Targparm as default values in case nothing corresponding is found in system.ads. So any change you make must definitely be in system.ads. Ludovic> Also I am curious to know what would be the effect of Ludovic> changing these flags in Debian. The effect would be disastrous for people handling bug reports from Debian users submitted to http://gcc.gnu.org/bugzilla/ :) If you want to change a flag, I would suggest that you try to get it changed in the GCC distribution rather than doing Debian specific changes. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/