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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: ArchiCheck v0.1 Date: Thu, 8 Jun 2017 22:27:34 -0500 Organization: JSA Research & Innovation Message-ID: References: <593878c9$0$3316$426a74cc@news.free.fr> <1b5ff139-fc0d-4c36-8298-2cde80ecc70e@googlegroups.com> NNTP-Posting-Host: rrsoftware.com X-Trace: franka.jacob-sparre.dk 1496978854 31469 24.196.82.226 (9 Jun 2017 03:27:34 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 9 Jun 2017 03:27:34 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:46929 Date: 2017-06-08T22:27:34-05:00 List-Id: wrote in message news:1b5ff139-fc0d-4c36-8298-2cde80ecc70e@googlegroups.com... Le jeudi 8 juin 2017 03:04:56 UTC+2, Randy Brukardt a écrit : ... >> pragma Profile (No_Implementation_Extensions); > >Thank you Randy for the update. >This is my first contact with Ada 2012, as I am out of the programming >field since 2007. >I plan to read this week-end some overview to discover the gems of Ada >2012. You have lots of reading ahead!! Another item that would help for this sort of thing is pragma Restrictions (No_Dependence, ); which prevents any use of the named package (which doesn't actually have to exist anywhere). For instance, pragma Restrictions (No_Dependence, GNAT); prevents any use of package GNAT or any of its children in your program. (Which will get rid of a lot of GNAT-defined facilities.) In your case, one can use it to prevent using various locally defined packages that might not be portable. Randy.