$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Official warnings policy?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-04 14:34:25
AMDG
Thomas Klimpel wrote:
> Zachary Turner wrote:
>
>> That aside, should we consider how to deal with #pragma warning(disable) in
>> MSVC (do other compilers have similar pragmas)? Should it be disallowed?
>>
>
> No, it should not be disallowed.
>
> The "warning C4127: conditional expression is constant" for a code like "if(op_type < 2)" where "op_type" is a template parameter is just nonsense.
>
My personal favorite example of conditional expression is constant is
while(true)
In Christ,
Steven Watanabe