Error: #warning "EWL support for C99 is not enabled"

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

Error: #warning "EWL support for C99 is not enabled"

跳至解决方案
3,306 次查看
kappa74
Contributor IV

Good morning,

I use micro MCF52255 and I want porting my project compiled in CW10.2 with MQX3.8.1 in a project compiled in CW10.6 with MQX4.1.0 to try the new webserver.

I can't compile the project because I get the following error:

"C:\Freescale\CW MCU v10.6\eclipse\../MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"Source\HVAC/global_1.args" -o "Source\HVAC\global_c.obj" "..\..\source\global.c"

Source\HVAC/global_1.args : -sym full -msgstyle parseable -proc 52255 -lavender model=ewl ,print=int_FP ,scan=int_FP ,io=buffered -c -nostdinc -nosyspath -enc ascii -i "C:/Progetti/MQXETH/lib/eth.cw10/bsp" -i "C:/Progetti/MQXETH/lib/eth.cw10/usb/host" -i "C:/Progetti/MQXETH/lib/eth.cw10/usb" -i "C:/Progetti/MQXETH/lib/eth.cw10/shell" -i "C:/Progetti/MQXETH/lib/eth.cw10/mfs" -i "C:/Progetti/MQXETH/lib/eth.cw10/rtcs" -i "C:/Progetti/MQXETH/lib/eth.cw10" -i "C:/Progetti/MQXETH/lib/eth.cw10/psp" -ir "C:/Progetti/STUSNP/stusnp/build" -ir "C:/Progetti/STUSNP/stusnp" -ir "C:/Progetti/MQXETH/usb/host/source/classes/common" -I- -ir "C:/Freescale/CW MCU v10.6/MCU" -prefix "C:/Progetti/STUSNP/stusnp/build/Int Flash Debug.prefix" -warn unusedvar -warn extracomma -opt level=1 -opt space -ipa off -inline on -align coldfire -model farCode -model farData -fp soft -a6 -nocoloring -noscheduling -nopeephole -sdata 0 -requireprotos -lang c99 -Cpp_Exceptions off -RTTI off -enum int -char unsigned -str nopool -str reuse 

../MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf|Compiler|Warning

(C:\Freescale\CW MCU v10.6\MCU\ARM_EABI_Support\ewl\EWL_C\include\stdbool.h|20|1|0|387|0)

= #warning "EWL support for C99 is not enabled" 

I saw that all the macro for defining the variables are changed (example uint32_t) and I try to correct it without good result.

I enable the EWL e C99 language, see figures Language_Setting.jpg and Set_ewl.jpg, no good result.

The error compile doesn't recognaize the new type "bool", too.

Do you have any idea?

Set_ewl.jpgLanguage_Settings.jpg

Thank you

Best Regards

Mirko

标记 (4)
0 项奖励
回复
1 解答
2,333 次查看
soledad
NXP Employee
NXP Employee

Hi,

Did you try creating a new MQX4.1 project and copy all the files that are contained on the sources folder to the new project?


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,333 次查看
marceli1
Contributor III

Hi,

I changed model in Settings/Librarian from ewl to c9x and it works for me.

Have nice day,

Marceli

2,334 次查看
soledad
NXP Employee
NXP Employee

Hi,

Did you try creating a new MQX4.1 project and copy all the files that are contained on the sources folder to the new project?


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复