mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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" );
|
||||
|
||||
#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++ )
|
||||
|
|
Loading…
Reference in a new issue