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?
Reverge Studios, Inc.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net