This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14434] typename parse error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2004 20:01:45 -0000
- Subject: [Bug c++/14434] typename parse error
- References: <20040304190312.14434.mleone@pixar.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-04 20:01 -------
It is not only the workaround but the correct thing to do, the diagnostic problem is fixed for 3.4.0:
pr14424.cc: In member function `void IntMap<T>::test()':
pr14424.cc:7: error: `iterator' does not name a type
pr14424.cc:7: note: (perhaps `typename __gnu_norm::map<int, T, std::less<int>, std::
allocator<std::pair<const int, T> > >::iterator' was intended)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |diagnostic
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14434