[Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 24 22:47:00 GMT 2010



------- Comment #8 from paolo dot carlini at oracle dot com  2010-02-24 22:47 -------
ICC doesn't warn (emits another spurious warning, by the way, which has nothing
to do with this issue). More generally, compilers using the EDG front-end, eg,
Comeau, apparently do not warn at the most strict diagnostic level. Likewise
SunStudio. I'm not saying we cannot do better, just, seems a pretty
sophisticated goal, and really, in my opinion, we should be *very* careful with
false positive, because normally it's unacceptable to emit warnings about
internal details of the implementation.


-- 


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



More information about the Gcc-bugs mailing list