comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT 3.10p and GCC 2.7.2.3
Date: 1998/02/09
Date: 1998-02-09T00:00:00+00:00	[thread overview]
Message-ID: <dewar.887001454@merv> (raw)
In-Reply-To: 34DDED2F.7AF4@arlington.net


<<Let me add to this thought, ...

Overloading of basic arithmetic operators (+,-,>,<,mod,rem ...) which
worked in GNAT Ada 3.07 and 3.09 doesn't work in 3.10.  The compiler
complained that it couldn't resolve ambiguous references for these
operators between our file and 'System' even though the low level math
operations were fully resolved within the boundaries of the file being
compiled.  Unfortunately, we have to overload the operators because of
the peculiarities of the target machine (custom-built, embedded
application).  It's also a shame because v3.10's development environment
looks really slick.

Otherwise, well done GNAT.
>>


If you think you have found a bug, then you should send it to 
report@gnat.com. Note however that the fact that something works
in 3.07 and 3.09 and does not work in 3.10 does not necessarily
mean that it is 3.10 that was broken. A number of bugs were
fixed in 3.10 in this area, and the result is that some illegal
programs that were incorrectly accepted by 3.09 are now correctly
rejected by 3.10.

We don't know that your example is a case in point, but we also
don't know that it isn't, given that you did not tell us what
your example was.

Certainly overloading of basic operators generally works fine (we have
probably hundreds of such examples in our regression suite). It is 
always possible that you have found a specific case where there is
a bug, but, especially when you send in the report to report@gnat.com,
it is essential to provide the exact source and not just a vague
over-generalized statement!

Robert Dewar
Ada Core Technologies





      parent reply	other threads:[~1998-02-09  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-07  0:00 GNAT 3.10p and GCC 2.7.2.3 Robert B. Love 
1998-02-07  0:00 ` Jean-Francois Vilarem
1998-02-10  0:00   ` Robert B. Love 
1998-02-08  0:00 ` Michael Appleby
1998-02-08  0:00   ` bklungle
1998-02-09  0:00   ` Robert Dewar [this message]
replies disabled

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