From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6673 invoked by alias); 31 Jan 2007 23:38:42 -0000 Received: (qmail 6629 invoked by uid 48); 31 Jan 2007 23:38:27 -0000 Date: Wed, 31 Jan 2007 23:38:00 -0000 Message-ID: <20070131233827.6628.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/24577] diagnostic informative note labelled "error" In-Reply-To: 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: 2007-01/txt/msg02776.txt.bz2 ------- Comment #3 from manu at gcc dot gnu dot org 2007-01-31 23:38 ------- (In reply to comment #0) > > Other informative notes are labeled "note:". Because this is labelled "error", > scripts that scan generated compiler output to count errors get wrong counts. > Ivan, the fix is trivial. In c-decl.c (undeclared_variable), replace the call to "error" with a call to "inform". However, it may require updating testcases and the maintainers may prefer to remove the message altogether. Since this is a minor issue, it is not strange that people prefer to do something else. If you are interested in seeing this fixed, this is a good opportunity to learn how to contribute to GCC, since the patch is trivial, the only difficulty is the whole process, that may seem complex at the beginning. You can find more information in http://gcc.gnu.org/contribute.html and ask any question about contributing in gcc@gcc.gnu.org. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24577