Bug #15199 2009-02-04 17:41

hlebodar

Incorrect Digital Mars rcc.exe command line

Code::Blocks produces an incorrect command line for rcc.exe, Digital Mars resource compiler.

For example

rcc.exe -32 -I-IC:\wxWidgets-2.8.9\include -IC:\wxWidgets-2.8.9\lib\dmc_lib\mswd -IC:\dm\include -oobj\Debug\resource.res resource.rc

Here double -I-I is incorrect.

The mistake is at line 160 of compilerDMC.cpp:

m_Commands[(int)ctCompileResourceCmd].push_back( CompilerTool(_T("$rescomp -32 -I$res_includes -o$resource_output $file")) );

Here -I should be removed.

Category
Compiler
Group
 
Status
Open
Close date
 
Assigned to