From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15618 invoked by alias); 22 Jul 2005 17:32:37 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 15565 invoked by uid 22791); 22 Jul 2005 17:32:32 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 22 Jul 2005 17:32:32 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j6MHWVbO014478 for ; Fri, 22 Jul 2005 13:32:31 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6MHWVV21236 for ; Fri, 22 Jul 2005 13:32:31 -0400 Received: from greed.delorie.com (dj.cipe.redhat.com [10.0.0.222]) by post-office.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6MHWUh19784 for ; Fri, 22 Jul 2005 13:32:30 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.1/8.13.1) with ESMTP id j6MHWSht020304 for ; Fri, 22 Jul 2005 13:32:28 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.1/8.13.1/Submit) id j6MHWNpm020301; Fri, 22 Jul 2005 13:32:23 -0400 Date: Fri, 22 Jul 2005 17:32:00 -0000 Message-Id: <200507221732.j6MHWNpm020301@greed.delorie.com> From: DJ Delorie To: gcc@gcc.gnu.org Subject: warning control project status X-SW-Source: 2005-07/txt/msg00943.txt.bz2 http://gcc.gnu.org/wiki/Warning%20Message%20Control Functionality supported: * Control of warnings through OPT_* values passed to warning(). * Display of command line options corresponding to printed warnings through -fdiagnostics-show-option. Warning conversion: # OPT # Zero % done top files 224 175 56 % all files 306 544 36 % ada 0 1 config 67 121 36 % cp 13 172 7 % fortran 0 4 java 2 19 objc 0 51 treelang 0 1 Functionality currently planned for 4.2: * -Werror-foo to turn -Wfoo warnings into errors. Matching -Wno-error-foo for use with -Werror. * #pragma for limited control of -W* and -Werror-* The idea behind these is that you'd have a .h file that defines your "acceptable warnings" policy, that everyone includes right at the top of each source file, with individual source files being able to make exceptions.