[Bug c++/10200] Weird clash with same names in different scopes

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 4 06:12:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-04 06:12 -------
It is even worse now on the mainline:
pr10200.cc: In member function `bool X<T>::bar()':
pr10200.cc:8: error: missing `>' to terminate the template argument list
pr10200.cc: In member function `bool X<T>::bar() [with T = int]':
pr10200.cc:11:   instantiated from here
pr10200.cc:8: error: `foo' is not a member template function

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-05-05 03:49:04         |2004-08-04 06:12:28
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200



More information about the Gcc-bugs mailing list