On Wed, Apr 4, 2012 at 2:14 PM, Andrew Haley <a...@redhat.com> wrote: > On 04/04/2012 01:11 PM, Gabriel Dos Reis wrote: >> On Wed, Apr 4, 2012 at 7:08 AM, Andrew Haley <a...@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.
We already use -Wall for both the stage1 C and the stage2+ C++ compiles. Only stage2+ use -Werror though. Richard. > Andrew.