BOOST_THROW_EXCEPTION old style cast

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

22 Dec
22 Dec
9:35 p.m.
On Mon, Dec 21, 2009 at 1:40 PM, Sam Miller
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?
Fixed. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
5541
Age (days ago)
5542
Last active (days ago)
1 comments
2 participants
participants (2)
-
Emil Dotchevski
-
Sam Miller