add a FORCE_CPP condition to the C::B backend - sometimes the g++ compiler finds some errors in the C code which cc doesn't

svn path=/trunk/; revision=26590
This commit is contained in:
Christoph von Wittich 2007-04-30 12:01:14 +00:00
parent 9497aaca2a
commit aeb5637da4

View file

@ -703,10 +703,14 @@ CBBackend::_generate_cbproj ( const Module& module )
fprintf ( OUT, "\t\t</Build>\r\n" );
#ifdef FORCE_CPP
CompilerVar = "CPP"
#else
if ( module.cplusplus )
CompilerVar = "CPP";
else
CompilerVar = "CC";
#endif
/* header files */
for ( i = 0; i < header_files.size(); i++ )