用 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
找啊找,找了半天,看是哪里出现问题,抓狂啊。。。。。。!!!!
原来是头文件函数声明少了个分号,YY的。害死人啊!!!!!!!
下次声明的时候一定先把分号加上。。。。