From 9fb5d31c8ad6171c55274cbfb4fced6e6f242aeb Mon Sep 17 00:00:00 2001 From: kvigor Date: Thu, 6 Feb 2003 22:19:28 +0000 Subject: [PATCH] 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 --- src/SDCCmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2