Boost logo

Boost Users :

Subject: Re: [Boost-users] BOOST_THROW_EXCEPTION old style cast
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-12-22 16:35:06

On Mon, Dec 21, 2009 at 1:40 PM, Sam Miller <samjmill_at_[hidden]> wrote:
> I am trying to build code using the BOOST_THROW_EXCEPTION macro with the
> gcc warning flags -Werror -Wold-style-cast.  The macro appears to cast
> __LINE__ into an integer using an old-style cast instead of a static_cast.
> Any idea why?


Emil Dotchevski
Reverge Studios, Inc.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at