From 7de58d3ffb9ce583cce265db0d890304314b574d Mon Sep 17 00:00:00 2001 From: borutr Date: Sun, 31 Dec 2006 17:12:44 +0000 Subject: [PATCH] removed duplicate definition of ATTRIBUTE_GCC_DIAG git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4547 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/cpp2/sdcpp.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/support/cpp2/sdcpp.h b/support/cpp2/sdcpp.h index 8b7e7c8c..06fccfd3 100644 --- a/support/cpp2/sdcpp.h +++ b/support/cpp2/sdcpp.h @@ -119,14 +119,6 @@ extern const struct lang_hooks lang_hooks; #ifndef GCC_DIAG_STYLE #define GCC_DIAG_STYLE __gcc_diag__ #endif -/* None of these functions are suitable for ATTRIBUTE_PRINTF, because - each language front end can extend them with its own set of format - specifiers. We must use custom format checks. */ -#if GCC_VERSION >= 3004 -#define ATTRIBUTE_GCC_DIAG(m, n) __attribute__ ((__format__ (GCC_DIAG_STYLE, m, n))) ATTRIBUTE_NONNULL(m) -#else -#define ATTRIBUTE_GCC_DIAG(m, n) ATTRIBUTE_NONNULL(m) -#endif /* None of these functions are suitable for ATTRIBUTE_PRINTF, because each language front end can extend them with its own set of format specifiers. We must use custom format checks. */ -- 2.47.2