摘要: c语言编译中,可能会出现以下报错: multiple storage classes in declaration specifiers 可能是 extern 修饰符 和 static 修饰符对一个function进行混用修饰,会导致问题。同时,再加入类似 __inline__ 或者 inline的 阅读全文
posted @ 2020-09-24 14:43 panrui 阅读(5057) 评论(0) 推荐(0) 编辑
摘要: 在.h文件中使用以下代码 extern __inline__ Mcal_WdtCalcSeqPassword(uint16 SeqPassword){ /*IFX_MISRA_RULE_08_05_STATUS=Allowed for inline functions defined in head 阅读全文
posted @ 2020-09-24 14:29 panrui 阅读(171) 评论(0) 推荐(0) 编辑