GCC: How to get all warnings?
Andi Hellmund
mail@andihellmund.com
Wed Aug 10 22:14:00 GMT 2011
Hi,
> After that it needs to be maintained: if it's implemented naively then
> everyone who adds a new warning has to include an additional change to
> add the new warning to the "really all" set, which is an extra (small,
> but not zero) burden on lots of people, lots of times in the future.
>
> It has some value, but it also has some cost.
>
I agree, but how about automatically generating a function from the
*.opt files to enable all the warnings for the language and target begin
in use. I think this could be a kind of "easy" from the attributes set
for each option ...
But surely, someone has to do it :-)
Andi
More information about the Gcc-help
mailing list