This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: -Wall by default
On 04/04/2012 01:11 PM, Gabriel Dos Reis wrote:
> On Wed, Apr 4, 2012 at 7:08 AM, Andrew Haley <aph@redhat.com> wrote:
>> 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 consider it a separate issue.
>
> -Wall is a primary a service to GCC users (which GCC is already
> using internally.)
>
> Switching to compile with C++ compiler is an internal
> compiler infrastructure issue that should be independent
> of the services we provide to the broader C++ community.
It's certainly a separate issue, but the set of C++ warnings is
very different, and to avoid unnecessary chaos it might be good
to stage the changes.
Andrew.