Re: Misleading error if the type in catch() is ambiguous

2012-01-04 Thread Peter A. Felvegi
Hello, I pinpointed the commit that introduced the bug, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51640 Regards, Peter

Re: Misleading error if the type in catch() is ambiguous

2011-12-20 Thread Peter A. Felvegi
I've submitted a bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51640 Regards, Peter

Re: Misleading error if the type in catch() is ambiguous

2011-12-20 Thread Jonathan Wakely
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 reduce

Misleading error if the type in catch() is ambiguous

2011-12-20 Thread Peter A. Felvegi
Dear All, 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. I had checked bz, but not found this particular case: http://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=ambiguous Attached a simple test c