From: johanknol Date: Tue, 15 Jan 2002 13:26:56 +0000 (+0000) Subject: fixed bug #503540 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6563a61c767261573b4fb9a40aa86fe0b44002d2;p=fw%2Fsdcc fixed bug #503540 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1803 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/cpp2/cppmacro.c b/support/cpp2/cppmacro.c index e6308501..643aeefc 100644 --- a/support/cpp2/cppmacro.c +++ b/support/cpp2/cppmacro.c @@ -1184,8 +1184,10 @@ warn_of_redefinition (pfile, node, macro2) if (node->flags & NODE_WARN) return 1; +#if 0 if (! CPP_PEDANTIC (pfile)) return 0; +#endif /* Redefinition of a macro is allowed if and only if the old and new definitions are the same. (6.10.3 paragraph 2). */