From 5badec2aaecfa224fb7a7d0462870f42523fa136 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 1 Jun 2019 11:40:30 +0000 Subject: gcc/pretty-print.h: gcc-4.6.4 does not provide diagnostics-core.h. --- gcc/pretty-print.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index 3b6d18e92..d57d98678 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -305,7 +305,7 @@ extern void pp_base_append_text (pretty_printer *, const char *, const char *); /* This header may be included before diagnostics-core.h, hence the duplicate definitions to allow for GCC-specific formats. */ -#if GCC_VERSION >= 3005 +#if GCC_VERSION >= 3005 && 0 #define ATTRIBUTE_GCC_PPDIAG(m, n) __attribute__ ((__format__ (__gcc_diag__, m ,n))) ATTRIBUTE_NONNULL(m) #else #define ATTRIBUTE_GCC_PPDIAG(m, n) ATTRIBUTE_NONNULL(m) -- cgit v1.2.3