This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: improve ATTRIBUTE_GCC_DIAG
> Maybe it is better to only enable the warning if the version we are
> compiling is the same as it is being compiled with.
That means you would only discover format string problems when
bootstrapping (unless you keep a build compiler around of the same
For those developers working in cross environments, they would also have
to keep a native compiler of the same version installed to see the
warnings. I think that is a poorer proposition, but that's just my 2