From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3824 invoked by alias); 24 Feb 2010 22:47:41 -0000 Received: (qmail 3610 invoked by uid 48); 24 Feb 2010 22:47:10 -0000 Date: Wed, 24 Feb 2010 22:47:00 -0000 Message-ID: <20100224224710.3609.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-02/txt/msg02533.txt.bz2 ------- 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