From: kvigor Date: Thu, 6 Feb 2003 22:19:28 +0000 (+0000) Subject: bug 681909: tell preprocessor we're compiling C99, not C++ X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=9fb5d31c8ad6171c55274cbfb4fced6e6f242aeb;p=fw%2Fsdcc bug 681909: tell preprocessor we're compiling C99, not C++ git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2218 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCmain.c b/src/SDCCmain.c index 06d3641a..1d544f7b 100644 --- a/src/SDCCmain.c +++ b/src/SDCCmain.c @@ -244,7 +244,7 @@ static const char *_baseValues[] = { NULL }; -static const char *_preCmd = "{cpp} -nostdinc -Wall -lang-c++ -DSDCC=1 {cppextraopts} {fullsrcfilename} {cppoutfilename}"; +static const char *_preCmd = "{cpp} -nostdinc -Wall -std=c99 -DSDCC=1 {cppextraopts} {fullsrcfilename} {cppoutfilename}"; PORT *port;