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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8147e9052e4bc0df X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: -gnatN breakage was: Child vs nested package : efficiency matter Date: Wed, 02 Jun 2010 18:50:50 +0200 Organization: Ada At Home Message-ID: References: <37b699c4-da76-4b5f-9074-0aa465af4a19@v12g2000prb.googlegroups.com> <11039f0d-ee37-4c99-ad4b-ab2ed658d553@m21g2000vbr.googlegroups.com> <4c068a95$0$6760$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 7g+UIcN0UM67WCCZrTfU2A.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:12204 Date: 2010-06-02T18:50:50+02:00 List-Id: Le Wed, 02 Jun 2010 18:45:09 +0200, Georg Bauhaus = a =E9crit: >> -gnatN is obsolete, you must use pragma Inline/Inline_Always with - >> gnatn instead. > > Does this mean that 3rd party source cannot be > inlined across units unless GNAT specific pragma Inline_Always > is added to these 3rd party sources? The option is supported, it's sure, I've checked it. In the mean time, G= PS = does not provide it in project options (only -gnatn is supplied). May be= = while still supported, this is a bit broken, thus not recommended and no= t = made visible. As the option is supported, there should be no need to modify any third = = party source. -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.