id summary reporter owner description type status milestone component version severity resolution keywords cc 3411 "Warnings when boost::exception is compiled with ""-Wold-style-cast""" c-rom (-at-) gmx.de Emil Dotchevski "Boost::exception reports warnings when compiled with ""-Wold-style-cast"". Please see ticket #2983 which is very similar to this one. The following code example reproduces the issue with Boost 1.40: {{{ #include #include typedef boost::error_info my_info; struct my_error: virtual boost::exception, virtual std::exception { }; void f() { throw my_error() << my_info(42); } void g() { try { f(); } catch( my_error & x ) { if( int const * mi=boost::get_error_info(x) ) std::cerr << ""My info: "" << *mi; } } }}} The piece of code for this bug report has been compiled with g++ (GCC) 3.4.3:[[BR]] g++ -Wold-style-cast -o Example -I Example.cpp" Bugs closed Boost 1.41.0 exception Boost 1.40.0 Cosmetic wontfix old-style-cast