comp.lang.ada
 help / color / mirror / Atom feed
From: Lionel.DRAGHI@fr.thalesgroup.com
To: comp.lang.ada@ada-france.org
Subject: RE: which compiler is right?
Date: Wed, 17 Mar 2004 11:16:11 +0100
Date: 2004-03-17T11:16:11+01:00	[thread overview]
Message-ID: <mailman.103.1079518605.327.comp.lang.ada@ada-france.org> (raw)



| -----Message d'origine-----
| De: Randy Brukardt [mailto:randy@rrsoftware.com]
...
| 
| "Which compiler is right?"
| 
| Typically, that's irrelevant. You have to avoid any construct 
| that doesn't
| work with any of the compilers, because the turn-around time 
| for a fix is
| too long to wait for. (That's especially true for something 
| like Claw.)
| Anyway...
Typically, yes, but not in my case.
Because of projects roadmap, I have the possibility to wait for ObjectAda
fixes.  
But if GNAT is wrong accepting this code, then I must change it now.

And also (like for the other anectotical example I posted yesterday), even
if it's easy to avoid, I don't want the Ada compilers I am using disagreeing
on Ada semantics.


...
| I think the program is illegal, but certainly not for the reasons that
| ObjectAda is reporting. But perhaps this is one of the cases 
| where something
| completely unrelated is fixing a bug elsewhere in the 
| language (because I
| cannot figure out a reason for it to be illegal other than 
| freezing - which
| has nothing to do with this).
| 
| The inherited Priority routine is primitive by 3.2.3. 8.3 
| then says that the
| new declaration overrides it. Of course, this is bogus, 
| because the type is
| not even declared in this scope, so any such overriding has 
| to be illegal.
| But I can't find any reason for that. OA says that the type 
| is frozen, but
| there really isn't any reason to assume that (and that may 
| not be true in
| Ada 2005 anyway). Even if the type was not frozen, we'd still 
| want this to
| be illegal.
| 
Thank you Randy for your analysis. 

| Looks like Ada-Comment material to me.
Should I just send an informal mail, like the one I posted on cla?
Maybe with the underlying problem that lead to this code?

-- 
Lionel Draghi



             reply	other threads:[~2004-03-17 10:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 10:16 Lionel.DRAGHI [this message]
2004-03-17 17:48 ` which compiler is right? Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2004-03-17 18:56 Lionel.DRAGHI
2004-03-17 18:53 Lionel.DRAGHI
2004-03-18  4:57 ` Randy Brukardt
2004-03-16 15:35 Lionel.DRAGHI
2004-03-16 13:44 Lionel.DRAGHI
2004-03-16 14:56 ` Dmitry A. Kazakov
2004-03-16 23:43 ` Randy Brukardt
2004-03-17 17:27 ` Adam Beneschan
2004-03-18  5:07   ` Randy Brukardt
2004-03-18 20:33     ` Adam Beneschan
2004-03-19 19:48       ` Randy Brukardt
1997-07-24  0:00 Which compiler is right ? Strategies
1997-07-25  0:00 ` Albert K. Lee
1997-07-25  0:00 ` Tucker Taft
replies disabled

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