$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [multi_array] warning #279 in icc 11.0
From: Ruediger Berlich (ruediger.berlich_at_[hidden])
Date: 2009-04-22 08:01:14
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.