bug 681909: tell preprocessor we're compiling C99, not C++
authorkvigor <kvigor@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 6 Feb 2003 22:19:28 +0000 (22:19 +0000)
committerkvigor <kvigor@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 6 Feb 2003 22:19:28 +0000 (22:19 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2218 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCmain.c

index 06d3641a915dc8a049dd30d49f30cc58cfa70672..1d544f7bc9b8777cd38d7e782b8ad12f357c66b5 100644 (file)
@@ -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;