Boost logo

Boost Users :

Subject: [Boost-users] BOOST_THROW_EXCEPTION old style cast
From: Sam Miller (samjmill_at_[hidden])
Date: 2009-12-21 16:40:34


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?

Sam


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