Warning C vs C++

Ben Elliston bje@au.ibm.com
Wed Sep 21 04:22:00 GMT 2005


Per Abrahamsen wrote:

> A -Weverything that turned on all boolean warnings would be nice.  It
> would be useless alone, but nice followed by a lot of
> -Wno-somesillywarning -Wno-anothersillywarning arguments.

I agree.  I acknowledge that it would be useless in the general sense (you couldn't
use it in Makefiles), but it would be nice to be able to use such an option for time
to time to audit the code in the way that you might use lint(1).

Ben



More information about the Gcc mailing list