From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Need of help Leonid(dulman@ibm.net)
Date: 1997/02/10
Date: 1997-02-10T00:00:00+00:00 [thread overview]
Message-ID: <dewar.855571664@merv> (raw)
In-Reply-To: u8n2tdm68y.fsf@ehmgs2.et.tu-dresden.de
Thomas Hoffman says, quoting me writing about default discriminants
<<GNAT may compile it, but it won't run it, and indeed I consider it a GNAT bug (o
n the todo list) that no
warning is issued at compile time for this misuse.
>>
Robert notes:
This is a truly ancient piece of text that Thomas dug up :-)
Anyway, GNAT now gives this warning, and has for some time:
1. procedure j is
2. type x (m : natural := 0) is record
3. s : string (1 .. m);
|
>>> warning: creation of object of this type may raise Storage_Error
4. end record;
5. g : x;
|
>>> warning: Storage_Error will be raised at run-time
6. begin
7. null;
8. end;
next prev parent reply other threads:[~1997-02-10 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-08 0:00 Need of help Leonid(dulman@ibm.net) dulman
1997-02-08 0:00 ` Robert Dewar
1997-02-10 0:00 ` Thomas Hoffmann
1997-02-10 0:00 ` Robert Dewar [this message]
[not found] ` <5dpftl$qi@fozzie.sun3.iaf.nl>
1997-02-12 0:00 ` Robert Dewar
1997-02-13 0:00 ` Keith Thompson
1997-02-12 0:00 ` Rex Reges
1997-02-15 0:00 ` Keith Thompson
1997-02-17 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox