[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #4 from gcc-bugzilla at contacts dot eelis dot net 2008-06-29 12:53 --- (In reply to comment #3) Fixed for 4.4.0. Thanks! However, I just noticed that while the problem has been fixed for function templates, it's still there for class templates. This code: template

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #5 from gcc-bugzilla at contacts dot eelis dot net 2008-06-29 12:54 --- Crap, pasted the wrong code. Here's the code that now triggers the warning: template typename class S {}; extern template class Sint; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-06-29 13:18 --- Ok, ok... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2008-06-29 21:45 --- Subject: Bug 36655 Author: paolo Date: Sun Jun 29 21:44:57 2008 New Revision: 137261 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137261 Log: /cp 2008-06-29 Paolo Carlini [EMAIL PROTECTED] PR

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2008-06-29 21:46 --- Fixed again. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-29 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2008-06-29 23:30 --- Hmm, I thought I saw a draft ealier that added also auto template and static template but I can't find that draft any more :(. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-27 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-06-27 17:57 --- I think you are right. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-27 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added CC|paolo at gcc dot gnu dot org| AssignedTo|unassigned at gcc dot gnu |paolo dot

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-27 Thread paolo at gcc dot gnu dot org
--- Comment #2 from paolo at gcc dot gnu dot org 2008-06-27 20:46 --- Subject: Bug 36655 Author: paolo Date: Fri Jun 27 20:45:25 2008 New Revision: 137200 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137200 Log: /cp 2008-06-27 Paolo Carlini [EMAIL PROTECTED] PR

[Bug c++/36655] unjustified warning for extern template when using -pedantic -std=c++0x

2008-06-27 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-06-27 20:50 --- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added