Using the Intel compiler for Linux, version 8.1, I try to enable the -Wall option, just to make sure that all potential problems are addressed.
The problem is that I get the remark from subject where I think it is not the case. I attached a very simple test case. Here is the result of compilation:
>icc -Wall t.c -o t
t.c(8): remark #981: operands are evaluated in unspecified order
", a, b);
If I change the a and b from float to int and the %f to %d then everything is ok.
Is there a way to disable this output? I don't want to disable all the remarks about the evaluation order for the operands, as it matters in other cases.
The exact version of the intel compiler is:
Intel C++ Compiler for 32-bit applications, Version 8.1 Build 20041019Z Package ID: l_cc_pu_8.1.024