This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14434] typename parse error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]