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,ddf5660e3e8010b1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: ada commercial options Date: Fri, 22 Apr 2011 19:50:33 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <5f171139-8296-4c7c-bc24-02885eadd260@dr5g2000vbb.googlegroups.com><77c9c293-9fd3-4f3b-a754-83bf3d3be487@p16g2000vbi.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1303519837 30142 69.95.181.76 (23 Apr 2011 00:50:37 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 23 Apr 2011 00:50:37 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:19966 Date: 2011-04-22T19:50:33-05:00 List-Id: "Simon Wright" wrote in message news:m2zknivnht.fsf@pushface.org... > "Randy Brukardt" writes: > >>> 2. Avoid gnat-specific libraries. >> >> This also is caught by the above profile. > > Unless a compiler has a special "don't allow 'with GNAT'" rule, I don't > see how it can do this? > > Or is it that vendors are expected to disallow use of their own > non-standard libraries? The restriction only applies to children of the language defined packages, since things like "with GNAT" are trivial to find and eliminate. Children of Ada, System, and Interfaces are difficult to tell language-defined ones from implementation-defined ones (especially as we keep adding them in each new language version - an Ada 95 program depending on Ada.Containers.Multiway_Trees is looking for trouble). But for children of the language-defined packages, the answer is yes, they are supposed to disallow (when the restriction is present) use of their own non-standard libraries. That's the whole point. Randy.