错误提示IAR identifier "__no_init" is undefined的解决

在这个错误提示之前,会有一个警告:

Warning[Pa031]: IAR keyword "__no_init" used with IAR extended language disabled 
意为IAR扩展语言使用的__no_init关键字被禁能了。

所以在项目属性的“C/C++ Compiler”的“Language conformance”需要选择“Standard with IAR extension”,即可编译通过。

猜你喜欢

转载自my.oschina.net/everkimage/blog/1823758