comp.lang.ada
 help / color / mirror / Atom feed
From: robert_dewar@my-dejanews.com
Subject: Re: Ada or C++ acting 'correctly' here?
Date: 1999/02/28
Date: 1999-02-28T00:00:00+00:00	[thread overview]
Message-ID: <7bai45$m4c$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7b8c7u$sj1@drn.newsguy.com

In article <7b8c7u$sj1@drn.newsguy.com>,
  bill@mooner wrote:
> Hello,
>
> compare these 2 little programs, do same thing, one in
> C++ and one in Ada. The C++ program compiles Ok, but
> result is negative,

Reasonable, since the C++ program is legal, but has
undefined semantics.


> the Ada program refused to compile:

Reasonable, since this is clearly an illegal program, and
the error messages you got from GNAT were pretty clear as
far as I can see!

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  parent reply	other threads:[~1999-02-28  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-27  0:00 Ada or C++ acting 'correctly' here? bill
1999-02-27  0:00 ` Florian Weimer
     [not found]   ` <36e8e201.48455851@netnews.worldnet.att.net>
1999-03-18  0:00     ` bglbv
1999-02-27  0:00 ` Claudius Proculus
1999-02-27  0:00   ` Biju Thomas
1999-02-28  0:00     ` robert_dewar
1999-02-28  0:00       ` Florian Weimer
1999-03-01  0:00         ` dewar
1999-02-27  0:00 ` Steve Doiel
1999-02-27  0:00 ` Matthew Heaney
1999-02-27  0:00 ` Gautier.DeMontmollin
1999-02-28  0:00 ` William McKenzie
1999-03-01  0:00   ` Hubert B. Keller
1999-03-01  0:00   ` fraser
1999-02-28  0:00 ` robert_dewar [this message]
1999-03-02  0:00 ` Willliam V
1999-03-02  0:00   ` Gautier.DeMontmollin
1999-03-02  0:00     ` kvisko
1999-03-02  0:00   ` Pascal Obry
1999-03-02  0:00   ` SpamSpamSpam
1999-03-02  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