This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another issue with diagnostic format-checker


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]