diagnostics - How to suppress warning (converted from error) in IAR EWARM 5.4 -
I had a macro for logging that accepts a variable number of arguments. This macro will be processed by GCC in non-embedded context, and will spread to valid C code. Regardless of this, IAR EWARM "[Pe054] returns error:" Macro invites many arguments in the invitation "Wherever the macro (thousands of places) calls
EWARM provides diagnostic configuration to convert these errors into warnings The code is compiled (i.e. "error" is not a compilation error, the compiler is just dumb))
The problem is That's when I try to change the 054 to the first time in a warning, then try to suppress it, I can not do it later.
The solution is to control the order in which the operation is applied, such as:
Convert to the first warning, then press.
Comments
Post a Comment