[Bug c++/14434] typename parse error

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 4 20:01:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list