This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: improve ATTRIBUTE_GCC_DIAG
Ben Elliston <bje@au1.ibm.com> writes:
> 2009-05-22 Ben Elliston <bje@au.ibm.com>
>
> * Makefile.in (bversion.h, s-bversion): New targets.
> (TOPLEV_H): Add bversion.h.
> * toplev.h: Include "bversion.h".
> (ATTRIBUTE_GCC_DIAG): When building with checking disabled, use
> the __format__ attribute only if compiling with the same version
> of GCC as the sources (the "build version").
This is OK.
Thanks.
Ian