Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 PIC 控制器的代码片段:
void __interrupt() ISR(void { // do some stuff }
当我使用 PC-Lint 时,我总是收到错误消息:
错误 10:需要标识符或其他声明符
如何处理 PC-Lint 中的中断?
您可以使用选项定义一个虚拟预处理器宏-d__interrupt()=
-d__interrupt()=