comp.lang.ada
 help / color / mirror / Atom feed
From: Vinzent Hoefler <ada.rocks@jlfencey.com>
Subject: Re: [GNAT] Option for chasing some uninitialized variables ?
Date: Tue, 29 Apr 2003 13:27:24 +0200
Date: 2003-04-29T13:27:24+02:00	[thread overview]
Message-ID: <b8lnk5$bb4mn$1@ID-175126.news.dfncis.de> (raw)
In-Reply-To: mailman.3.1051613316.9816.comp.lang.ada@ada.eu.org

"Gautier direct_replies_not_read" <gautier_niouzes@hotmail.com> wrote:

>Vinzent Hoefler:
>
>>You probably mean one of "pragma Normalize_Scalars", "pragma
>>Initialize_Scalars" and "-gnatv" (both GNAT-specific).
>
[...]
>Don't you mean rather "-gnatVa" (validity checking) instead
>of "-gnatv" (verbose) ?

Yes, of course.

>BTW, is there a way to set one of these pragmata with a command_line
>switch ?

No, not directly.

But if I understood that correctly, "pragma Normalize_Scalars" applies
to the whole program (partition), so it should be possible to set up
some package either from a "release/" and a "debug/" directory that
ex-/includes that pragma. The only thing you'd have to change then
would be the search path for the package. Well, it would require a
complete remake of the project each time then...

Another (perhaps easier but compiler specific und thus less portable)
solution would be to use GNAT's preprocessor gnatprep.


Vinzent.

-- 
Parents strongly cautioned  --  this  posting  is  intended for mature
audiences  over  18.  It  may  contain some material that many parents
would not find suitable for children and may include intense violence,
sexual situations, coarse language and suggestive dialogue.



  reply	other threads:[~2003-04-29 11:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 10:47 [GNAT] Option for chasing some uninitialized variables ? Gautier direct_replies_not_read
2003-04-29 11:27 ` Vinzent Hoefler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 11:40 Gautier direct_replies_not_read
2003-04-29 11:49 ` Vinzent Hoefler
2003-04-29 10:17 Gautier direct_replies_not_read
2003-04-29 10:32 ` Vinzent Hoefler
2003-04-29 10:41 ` Samuel Tardieu
replies disabled

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