This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: -Wall by default


On Thu, Apr 12, 2012 at 5:23 AM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
> On 11/04/2012 09:50, Vincent Lefevre wrote:
>> On 2012-04-09 13:03:38 -0500, Gabriel Dos Reis wrote:
>>> On Mon, Apr 9, 2012 at 12:44 PM, Robert Dewar wrote:
>>>> On 4/9/2012 1:36 PM, Jonathan Wakely wrote:
>>>>
>>>>> Maybe -Wstandard isn't the best name though, as "standard" usually
>>>>> means something quite specific for compilers, and the warning switch
>>>>> wouldn't have anything to do with standards conformance.
>>>> -Wdefault
>>>>
>>>> might be better
>>> except if people want warnings about "defaults" in C++11 (which can mean
>>> lot of things).
>>
>> How about a warning level?
>>
>> -W0: no warnings (equivalent to -w)
>> -W1: default
>> -W2: equivalent to the current -Wall
>> -W3: equivalent to the current -Wall -Wextra
>
> ?I like this suggestion a lot.
>

me, very not. :-(

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]