AnsweredAssumed Answered

Codewarior 10.3 and include path compiler error

Question asked by Bijam on Jan 10, 2013

Hello everyone,

 

I have an issue since I've migrated from Codewarior 10.2 to 10.3 (for Coldfire).

 

I get a compiler error on most of my projects. The error is as below:

'Invoking: ColdFire Compiler'

"D:/WinApps/CW MCU v10.3/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"src/app_menu.args" -o "src/app_menu_c.obj" "../src/app_menu.c" -MD -gccdep

### D:/WinApps/CW MCU v10.3/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf Usage Error:

#   Argument(s) expected

#   while parsing option '-i'

 

Attached are the makefiles generated by codewarior


After investigating, it seems that include path which contains the character '-' on one directory gives this error (in my example, D:/LDL/SW/BBSW/CCM/adc/tag/491000010031-adc/src).

I don't have this error on Codewarior 10.2, Is there any way to avoid this issue in 10.3 without renamming all include folders ?


Regards,

Benjamin

Original Attachment has been moved to: app_menu.args.zip

Original Attachment has been moved to: makefile.local.zip

Original Attachment has been moved to: subdir.mk.zip

Outcomes