From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4805 invoked by alias); 6 Feb 2002 04:03:49 -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 4720 invoked from network); 6 Feb 2002 04:03:47 -0000 Received: from unknown (HELO nile.gnat.com) (205.232.38.5) by sources.redhat.com with SMTP; 6 Feb 2002 04:03:47 -0000 Received: by nile.gnat.com (Postfix, from userid 338) id DB5B8F28BE; Tue, 5 Feb 2002 23:03:46 -0500 (EST) To: gdr@codesourcery.com, jbuck@synopsys.COM, sk.mail@btinternet.com Subject: RE: a warning to implement Cc: Dautrevaux@microprocess.com, aoliva@redhat.com, coola@ngs.ru, dewar@gnat.com, gcc@gcc.gnu.org, pcarlini@unitus.it, tim@hollebeek.com Message-Id: <20020206040346.DB5B8F28BE@nile.gnat.com> Date: Tue, 05 Feb 2002 20:07:00 -0000 From: dewar@gnat.com (Robert Dewar) X-SW-Source: 2002-02/txt/msg00331.txt.bz2 >>Perhaps there should be an option to enable *all* warnings? Sounds reasonable. Too bad that the obvious name for this option is taken :-) Actually we find in the Ada case that there are some warnings that are just too specialized to be generally useful since they correspond to specific style options that few people follow. For example, in Ada -gnatwd requires that all dereferencing be explicit, rather than being implicit as allowed by the language. This warning would generate false positives on nearly all Ada code, but is useful to a very small minority that wish to follow this particular style rule.