Another issue with diagnostic format-checker

Zack Weinberg zack@codesourcery.com
Sat Jul 19 21:33:00 GMT 2003


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> | > Do you consider WARN_FLAGS a crap?
> | 
> | Yes, 
>
> then I didn't here you voicing as vehemently as now.

Quite true.  It was unavoidable, so I didn't object.

> | but crap that cannot presently be avoided, since there is no way
> | to override warning levels from within the source files themselves.
>
> s/way/reliable way/

Oh? Someone finally added #pragma GCC warning_control?

One may restructure code to avoid warnings (which is a desirable
change) but I don't see any way to get an effect identical to
-Wno-error from within the source code.

> and the same is true for the current issue.

I don't agree, but you knew that.

zw



More information about the Gcc mailing list