用 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