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-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Aspect programming Date: Thu, 28 Jul 2011 10:25:55 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1311863155 18809 192.74.137.71 (28 Jul 2011 14:25:55 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 28 Jul 2011 14:25:55 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:uveoItGtcFYii9tJKgjFRTEG2MM= Xref: g2news2.google.com comp.lang.ada:21369 Date: 2011-07-28T10:25:55-04:00 List-Id: AdaMagica writes: > You're using GNAT, which requires one compilation unit per file. By default. There are ways to get around that, but the easiest thing is to follow GNAT's default convention. > 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. Right, or use the -gnata switch. - Bob