
21 Dec
2009
21 Dec
'09
9:40 p.m.
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