From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108927 invoked by alias); 22 Jan 2019 18:45:42 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 108737 invoked by uid 89); 22 Jan 2019 18:45:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_SHORT,SPF_PASS autolearn=ham version=3.3.2 spammy=discover, fear, H*f:sk:80e1821, H*i:sk:80e1821 X-HELO: mail2-relais-roc.national.inria.fr Received: from mail2-relais-roc.national.inria.fr (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Jan 2019 18:45:27 +0000 Received: from 85-171-183-126.rev.numericable.fr (HELO stedding) ([85.171.183.126]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jan 2019 19:45:24 +0100 Date: Tue, 22 Jan 2019 18:45:00 -0000 From: Marc Glisse Reply-To: gcc@gcc.gnu.org To: Thomas Koenig cc: gcc mailing list , "fortran@gcc.gnu.org" Subject: Re: [RFC] -Weverything In-Reply-To: <80e1821d-b6da-c6b6-2bf2-29734f5fd34e@netcologne.de> Message-ID: References: <80e1821d-b6da-c6b6-2bf2-29734f5fd34e@netcologne.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-SW-Source: 2019-01/txt/msg00173.txt.bz2 On Tue, 22 Jan 2019, Thomas Koenig wrote: > Hi, > > What would people think about a -Weverything option which turns on > every warning there is? > > I think that could be quite useful in some circumstances, especially > to find potential bugs with warnings that people, for some reason > or other, found too noisy for -Wextra. > > The name could be something else, of course. In the best GNU tradition, > -Wkitchen-sink could be another option :-) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31573 and duplicates already list quite a few arguments. Basically, it could be useful for debugging gcc or to discover warnings, but gcc devs fear that users will actually use it for real. -- Marc Glisse