Misleading error if the type in catch() is ambiguous

Jonathan Wakely jwakely.gcc@gmail.com
Tue Dec 20 14:28:00 GMT 2011


On 20 December 2011 13:31, Peter A. Felvegi wrote:
>
> I suspect there is a regression from g++ 4.4 in later versions. If the name
> of the class is ambiguous in a catch(), this fact is not reported.

Bugs should be reported to bugzilla:
http://gcc.gnu.org/bugs/#report

Please also provide a reduced testcase that demonstrates only the
actual problem, not lots of other error messages that are expected
(it's harder to see at a glance whether the behaviour is correct when
there are several lines of correct errors.)

Thanks.



More information about the Gcc mailing list