comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: win32ada with Object Ada
Date: 1997/06/07
Date: 1997-06-07T00:00:00+00:00	[thread overview]
Message-ID: <dewar.865691699@merv> (raw)
In-Reply-To: Pine.LNX.3.95.970603155149.11503A-100000@crusher.et.ruhr-uni-bochum.de


Saif-Ali asks 

<<If the code in winnt.ads really illegal, I ask, "How  could it be compiled
on Gnat 3.02 (as is mentioned in the readme file)?" Normally all the
validated compilers should be able to compile a code or not to compile a
code.  If some compilers can compile it and other not, then one cannot
talk about compatibility of compilers.
>>

First, the version of GNAT mentioned, 3.02, was not validated, that is a very
old version of GNAT.  

Second, validation does not ensure 100% conformance (no testing can ever
ensure 100% conformance).

It is indeed the validated version of GNAT (4.00) and versions immediately
preceding it (3.09) that correctly reject the illegalities.

But always remember, it is the RM that defines what is legal, NOT any
compiler, and NOT the ACVC tests. Programmer's should not rely entirely
on a compiler to tell them what is legal and what is not. For one thing,
they may accidentally write non-portable code if they do this (it is
perfectly possible to write code that is legal on one compiler and illegal
on another, e.g. somethingt like Integer(System.Max_Int).





  parent reply	other threads:[~1997-06-07  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-03  0:00 win32ada with Object Ada Saif-Ali Butt
1997-06-03  0:00 ` Tom Moran
1997-06-03  0:00 ` Martin C. Carlisle
1997-06-09  0:00   ` Robert Dewar
1997-06-14  0:00   ` Ginny Wood
1997-06-05  0:00 ` Ed Falis
1997-06-07  0:00 ` Robert Dewar [this message]
1997-06-09  0:00   ` Pascal Obry
1997-06-09  0:00     ` Robert Dewar
1997-06-10  0:00       ` Pascal Obry
1997-06-09  0:00     ` Robert Dewar
1997-06-10  0:00     ` Geert Bosch
1997-06-17  0:00 ` Heinz-Joachim Staerke
1997-06-20  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