removed duplicate definition of ATTRIBUTE_GCC_DIAG
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 31 Dec 2006 17:12:44 +0000 (17:12 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 31 Dec 2006 17:12:44 +0000 (17:12 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4547 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/cpp2/sdcpp.h

index 8b7e7c8c6b75b33bc13050947896e1e3d3e82f55..06fccfd3152b7f29308be611efbc923ea26b062b 100644 (file)
@@ -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.  */