用 iar 编译工程的时候。出现 提示这样一大堆错误。几千个。
Warning[Pe231]: declaration is not visible outside of function
Warning[Pe099]: a declaration here must declare a parameter
Error[Pe085]: invalid storage class for a parameter
Error[Pe099]: a declaration here must declare a parameter
Error[Pa002]: the type attribute "__intrinsic" is not allowed on this declaration
..........
结果是原来是头文件函数声明少了个分号。
原文链接可参看:Error