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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ef676faabcff187 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-29 03:41:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!enst.fr!beeblebrox!nobody From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: [GNAT] Option for chasing some uninitialized variables ? Date: Tue, 29 Apr 2003 12:41:41 +0200 Organization: TELECOM Paris Message-ID: <877k9dio0q.fsf@inf.enst.fr> References: NNTP-Posting-Host: beeblebrox.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1051612907 48539 137.194.162.67 (29 Apr 2003 10:41:47 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 29 Apr 2003 10:41:47 +0000 (UTC) Mail-Copies-To: sam@rfc1149.net User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Military Intelligence, i386--freebsd) Cancel-Lock: sha1:UhAblhUxgLr+Kc0Z6Md5eBFp0X4= Xref: archiver1.google.com comp.lang.ada:36723 Date: 2003-04-29T12:41:41+02:00 List-Id: >>>>> "Gautier" == Gautier direct replies not read writes: Gautier> I faintly remember that there is a debug option or Gautier> pragma that gives an out-of-range value to uninitialized Gautier> variables or record fields, when possible, so that the range Gautier> check always raises Constraint_Error when such a value is Gautier> used before it has been initialized. Can someone recall its Gautier> name - if it exists ? I didn't find it in the docs. TIA! You must be looking for "pragma Initialize_Scalars". Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam