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: a07f3367d7,6651f3800ba2b6ac X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!q11g2000yqm.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Aspect programming Date: Fri, 29 Jul 2011 04:03:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8721bfc8-ddcf-4bc3-bfbb-c3581d0e28de@q11g2000yqm.googlegroups.com> References: NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1311937524 8742 127.0.0.1 (29 Jul 2011 11:05:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 29 Jul 2011 11:05:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q11g2000yqm.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALERCFNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21382 Date: 2011-07-29T04:03:44-07:00 List-Id: On Jul 28, 5:56=A0am, AdaMagica wrote: > You're using GNAT, which requires one compilation unit per file. > Thus your pragma Assertion_Policy applies only to the unit where it is > in the context clause. > > If you want it to apply to all units, you have to use it as a > configuration pragma. Behaviour doesn't change even if you provide the configuration pragma's in a file and specify the Global_Configuration_Pragmas in the .gpr file... -- Martin