[Bug c++/36715] not compile code, but must

2008-07-03 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2008-07-03 12:20 --- *** Bug 36719 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36715

[Bug c++/36715] not compile code, but must

2008-07-03 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-07-03 12:20 --- *** Bug 36718 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36715

[Bug c++/36715] not compile code, but must

2008-07-03 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-07-03 12:20 --- *** Bug 36717 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36715

[Bug c++/36715] not compile code, but must

2008-07-03 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-03 12:19 --- *** Bug 36716 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36715

[Bug c++/36715] not compile code, but must

2008-07-03 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-07-03 09:52 --- Not a bug: in C++98 local types are not allowed as template arguments. Just move the anonymous struct and Z before the main. -- paolo dot carlini at oracle dot com changed: What|Removed