Author: cwittich
Date: Mon Apr 30 16:01:14 2007
New Revision: 26590
URL:
http://svn.reactos.org/svn/reactos?rev=26590&view=rev
Log:
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
Modified:
trunk/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp
Modified: trunk/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/codeb…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp Mon Apr 30 16:01:14 2007
@@ -703,10 +703,14 @@
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++ )