为什么C中的警告指令会引发LINT错误?

时间:2019-12-20 13:30:23

标签: c lint pc-lint

我正在使用MCUXpresso IDE在我的ARM Cortex M项目中使用GNU C和IAR编译器。我正在使用PC-LINT检查器。

在IAR编译器下,我有#warning指令抛出两个LINT错误的问题

#warning Dont compile it in RELEASE //example directive

LINT: 10: Expecting end of line //throwed lint errors
LINT: 16: Unrecognized name

我该怎么解决这个问题?

0 个答案:

没有答案