$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Erik (esigra_at_[hidden])
Date: 2008-03-18 06:17:10
John Maddock skrev:
> Erik wrote:
>
>> We have this really neat and simple macro in our project:
>> #define compile_assert(x) typedef bool COMPILE_ASSERT[(x) ? 1 : -1]
>>
>> Although it does what we need and serves us well, I tried to replace
>> it with BOOST_STATIC_ASSERT. Unfortunately this resulted in a lot of
>> ugly warnings throughout the compile:
>> warning: use of old-style cast
>>
>> Is there any chance to get this fixed?
>>
>
> Which compiler is this?
>
g++ (with the parameter -Wold-style-cast)