Enable C99 on Codewarrior 10.6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enable C99 on Codewarrior 10.6

64 次查看
Transidico
Contributor I

Good morning,

I would like to enable C99 for CW 10.6 v. I use the micro mc9s08ac32, I looked in the manual and used the directive both ‘#pregma c99 on’ and ‘#define EWL_C99 1’, in both cases I found no success.

I probably need to enable it from the settings, but I couldn't find any option to enable it. I went to properties>C/C++ Build>Tool settings but i didn't see about C99, only HS08 compiler. 

Could you give me some advice?

0 项奖励
回复
3 回复数

46 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello Transidico,

HCS08 compiler Compliants with C90 standards. C99 is not supported.

Thanks,

Jun Zhang

 

0 项奖励
回复

37 次查看
Transidico
Contributor I

Good morning, thank you for your kind reply.
I would be interested in using the C99 somehow for this micro, is there no way I can use it?
I understand that the compiler does not support it, is there no other compiler that is compatible?

If I install CodeWarrior 11.1v does it not support C99? Or is there not something that converts C99 to C90 for me?

Thanks

0 项奖励
回复

31 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello Transidico 

Unfortunately CodeWarrior v11 also C90 compliance.

So far NXP doesn't have an IDE for HCS08 supporting C99.

Best Regards,

Jun Zhang

0 项奖励
回复