This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43275] unclear error message for missing typename
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Sep 2011 22:45:39 +0000
- Subject: [Bug c++/43275] unclear error message for missing typename
- Auto-submitted: auto-generated
- References: <bug-43275-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43275
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC|manu at gcc dot gnu.org |
Resolution| |FIXED
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-28 22:45:39 UTC ---
The error message on 4.5.x, 4.6.x and mainline seems pretty good to me:
43275.C:6:5: error: need âtypenameâ before âB<A>::Câ because âB<A>â is a
dependent scope