This is the mail archive of the gcc-patches@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: 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


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