mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
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:
parent
9497aaca2a
commit
aeb5637da4
1 changed files with 4 additions and 0 deletions
|
@ -703,10 +703,14 @@ CBBackend::_generate_cbproj ( const Module& module )
|
||||||
|
|
||||||
fprintf ( OUT, "\t\t</Build>\r\n" );
|
fprintf ( OUT, "\t\t</Build>\r\n" );
|
||||||
|
|
||||||
|
#ifdef FORCE_CPP
|
||||||
|
CompilerVar = "CPP"
|
||||||
|
#else
|
||||||
if ( module.cplusplus )
|
if ( module.cplusplus )
|
||||||
CompilerVar = "CPP";
|
CompilerVar = "CPP";
|
||||||
else
|
else
|
||||||
CompilerVar = "CC";
|
CompilerVar = "CC";
|
||||||
|
#endif
|
||||||
|
|
||||||
/* header files */
|
/* header files */
|
||||||
for ( i = 0; i < header_files.size(); i++ )
|
for ( i = 0; i < header_files.size(); i++ )
|
||||||
|
|
Loading…
Reference in a new issue