comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: NVRAM or how can I enforce a range check in Ada83.
Date: 1996/11/17
Date: 1996-11-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.848229223@merv> (raw)
In-Reply-To: 328DE73D.581B@lmtas.lmco.com


Ken Garlington says

"There is an Ada 83 interpretation that says compilers are permitted to warn
you if the Source and Target are of different sizes on an unchecked conversion,
but as I understand it this isn't a requirement."

This is not right. No interpretation is needed to permit a compiler to 
generate warning messages, a compiler can generate whatever warning
messages it likes, since these are entirely outside the language.

As for requirements, there is not even a requirement that error messages
be generated for illegal programs, since again messages are entirely outside
the language definition. The only semantic requirement is that the library
(Ada 83) or compilation environment (Ada 95) not be affected by compiling
an illegal unit.





  reply	other threads:[~1996-11-17  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-15  0:00 NVRAM or how can I enforce a range check in Ada83 Peter Vogelsanger
1996-11-15  0:00 ` Stephen Leake
1996-11-16  0:00 ` Ken Garlington
1996-11-17  0:00   ` Robert Dewar [this message]
1996-11-17  0:00     ` Robert A Duff
1996-11-18  0:00       ` Robert Dewar
1996-11-19  0:00         ` Robert A Duff
1996-11-22  0:00     ` Ken Garlington
1996-11-22  0:00       ` Robert Dewar
1996-11-25  0:00         ` Ken Garlington
1996-11-19  0:00   ` Laurent Guerby
replies disabled

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