------- Comment #2 from igodard at pacbell dot net  2005-10-12 19:23 -------
Well, how about:
foo.cc: In function `void bar()':
foo.cc:2: error: template argument `T' uses local type `bar()::X'
foo.cc:2: error:   trying to instantiate `template<class T> struct foo'
foo.cc:2: error: invalid type in declaration before ';' token

IMO, saying "`bar()::X' uses local type `bar()::X'" makes no sense.


-- 


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

Reply via email to