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 Wed, Apr 4, 2012 at 5:17 PM, Ian Lance Taylor <iant@google.com> wrote:
> Andrew Haley <aph@redhat.com> writes:
>
>> On 04/04/2012 03:56 PM, Ian Lance Taylor wrote:
>>> Andrew Haley <aph@redhat.com> writes:
>>>
>>>> On 04/04/2012 10:44 AM, Gabriel Dos Reis wrote:
>>>>> For GCC-4.8, I would like to turn on -Wall by default.
>>>>> Comments?
>>>>
>>>> Umm, should this really happen at exactly the same time as C++
>>>> by default?
>>>
>>> I assume that Gaby is talking about making -Wall the default for users
>>> of GCC.
>>
>> Oh, wow. ?Really? ?That's a big change. ?Time to be brave, I guess,
>> but I very much like the idea of a gcc that does just what it's told;
>> making -Wall the default is a big break with tradition.
>
> Yes, that would be a big change.

At the same time we should make 'gcc' optimize as every other compiler.
Thus, default to -O2.

Richard.


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