[Bug 319758] Re: [PR15179, fixed in 4.5] g++ outputs wrong error message
Bug Watch Updater
319758 at bugs.launchpad.net
Sat Mar 23 21:27:26 UTC 2013
** Changed in: gcc
Status: Unknown => Invalid
** Changed in: gcc
Importance: Unknown => Wishlist
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/319758
Title:
[PR15179, fixed in 4.5] g++ outputs wrong error message
Status in The GNU Compiler Collection:
Invalid
Status in “gcc-4.3” package in Ubuntu:
Won't Fix
Status in “gcc-4.4” package in Ubuntu:
Won't Fix
Status in “gcc-4.5” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: g++-4.3
Using Kubuntu 8.10 x86_64, g++ version 4.3.2-1ubuntu11
When compiling the attached c++ code, g++ outputs the following:
test.cpp:11: error: type ‘Outer’ is not derived from type ‘Other’
test.cpp:11: error: expected ‘;’ before ‘*’ token
Which is not the correct error message. When changing line 11 to
Outer::Inn3r inner; //without the *
g++ gives the correct error message which is:
test.cpp:11: error: ‘Inn3r’ in class ‘Outer’ does not name a type
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/319758/+subscriptions
More information about the foundations-bugs
mailing list