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))

 bad design

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:

Enter image details here

Convert to the first warning, then press.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -