[Bug libstdc++/39407] Parse error in <stack> when user declares template-name c

jwakely dot gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 9 15:19:00 GMT 2009



------- Comment #5 from jwakely dot gcc at gmail dot com  2009-03-09 15:19 -------
Well, the as-if rule allows (((((x.c)))) < ((y.c)) too of course.

I could be wrong and the compiler should parse it ok, I haven't thought about
it very hard.

The same problem occurs here, although it's only in a GNU extension this time:

template <typename> struct value { };
#include <ext/pod_char_traits.h>


-- 


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



More information about the Gcc-bugs mailing list