From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10512 invoked by alias); 5 Feb 2010 01:16:19 -0000 Received: (qmail 10483 invoked by uid 48); 5 Feb 2010 01:16:03 -0000 Date: Fri, 05 Feb 2010 01:16:00 -0000 Subject: [Bug other/42966] New: add some indication that a warning has been converted to an error X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" 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/msg00332.txt.bz2 See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01197.html Currently, warnings enabled by flags are indicated by the flag when using -fdiagnostics-show-option. However, warnings enabled by default do not show anything. Two possible fixes: 1) Give the flag that enables the warning (like now). For default warnings, say "[default warning]". 2) Give the flag that disables the warning. For default warnings, say "[-w]". Also, it would be good to move this info after "warning:" (or "error:" if -Werror=) to make it easier to see/parse. Of course, anything that does not have a [something] is a hard error that cannot be disabled. -- Summary: add some indication that a warning has been converted to an error Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42966