[multi_array] warning #279 in icc 11.0

Hello, I get "warning #279: controlling expression is constant" (full text in attachment). Is there a way to disable that? I tried the following in my source, but it seem to have no effect. #pragma warning ( push ) #pragma warning ( disable: 279 ) #include "boost/multi_array.hpp" #pragma warning( pop ) My icc version: $icc --version icc (ICC) 11.0 20081105 Regards, Anton Daneyko.

Hi Anton, try the compiler switch "-wd279". This worked for me for other warnings. Best, Ruediger Anton Daneyko wrote:
Hello,
I get "warning #279: controlling expression is constant" (full text in attachment). Is there a way to disable that?
I tried the following in my source, but it seem to have no effect. #pragma warning ( push ) #pragma warning ( disable: 279 ) #include "boost/multi_array.hpp" #pragma warning( pop )
My icc version: $icc --version icc (ICC) 11.0 20081105
Regards, Anton Daneyko.
participants (2)
-
Anton Daneyko
-
Ruediger Berlich