This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/6190] T::C.X is accepted, although it should read T::C::X
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2003 14:12:31 -0000
- Subject: [Bug c++/6190] T::C.X is accepted, although it should read T::C::X
- References: <20020405094601.6190.reichelt@igpm.rwth-aachen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6190
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-09-05 14:12 -------
Fixed on mainline by Nathan's patch for PR 11922.
We now issue the error message
PR6190A.cc: In function `int foo() [with T = B]':
PR6190A.cc:4: instantiated from here
PR6190A.cc:3: error: `T::C' names a type, but a non-type is expected