diff options
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r-- | gcc/c-semantics.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index e292d9f..4e27bec 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -31,6 +31,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "varray.h" #include "c-common.h" #include "except.h" +/* In order for the format checking to accept the C frontend + diagnostic framework extensions, you must define this token before + including toplev.h. */ +#define GCC_DIAG_STYLE __gcc_cdiag__ #include "toplev.h" #include "flags.h" #include "ggc.h" |