comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Aspect programming
Date: Thu, 28 Jul 2011 10:25:55 -0400
Date: 2011-07-28T10:25:55-04:00	[thread overview]
Message-ID: <wcc7h72xz0s.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: e9a03c85-5e02-4e64-a289-74199b2b476c@v12g2000vby.googlegroups.com

AdaMagica <christ-usch.grein@t-online.de> 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



  reply	other threads:[~2011-07-28 14:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27 16:29 Aspect programming Anh Vo
2011-07-28  4:56 ` AdaMagica
2011-07-28 14:25   ` Robert A Duff [this message]
2011-07-28 18:13   ` Adam Beneschan
2011-07-28 19:38     ` Adam Beneschan
2011-07-29 16:09     ` Anh Vo
2011-07-29 19:48       ` Adam Beneschan
2011-07-29 11:03   ` Martin
2011-07-30  2:31     ` Harry Tucker
2011-08-01 18:20   ` Anh Vo
2011-08-11 22:58 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox