Codewarior 10.3 and include path compiler error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Codewarior 10.3 and include path compiler error

ソリューションへジャンプ
957件の閲覧回数
Bijam
Contributor I

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

ラベル(1)
0 件の賞賛
返信
1 解決策
659件の閲覧回数
imkevin
Contributor I

Benjamin - did you get an answer to this or come up with a workaround?  I am having the same problem.  The presence of a dash ( - ) in the path will cause this error.  CW 10.2 was fine with a dash, but CW 10.3 isn't.

Thanks

-Kevin

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
660件の閲覧回数
imkevin
Contributor I

Benjamin - did you get an answer to this or come up with a workaround?  I am having the same problem.  The presence of a dash ( - ) in the path will cause this error.  CW 10.2 was fine with a dash, but CW 10.3 isn't.

Thanks

-Kevin

0 件の賞賛
返信