diff --git a/test/Jamfile b/test/Jamfile index 79c25a8..5d2089d 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -15,11 +15,19 @@ run quick.cpp ; # full test suite run smart_ptr_test.cpp ; -run shared_ptr_basic_test.cpp : : : gcc:-Wno-non-virtual-dtor ; -run shared_ptr_test.cpp : : : gcc:-Wno-non-virtual-dtor ; +run shared_ptr_basic_test.cpp + : : : gcc:-Wno-non-virtual-dtor ; + +run shared_ptr_test.cpp + : : : + gcc:-Wno-non-virtual-dtor + gcc:-Wno-deprecated-declarations ; + run weak_ptr_test.cpp ; run weak_ptr_move_test.cpp ; -run shared_from_this_test.cpp : : : gcc:-Wno-non-virtual-dtor ; +run shared_from_this_test.cpp + : : : gcc:-Wno-non-virtual-dtor ; + run get_deleter_test.cpp ; run intrusive_ptr_test.cpp ; run intrusive_ptr_move_test.cpp ; diff --git a/test/shared_ptr_test.cpp b/test/shared_ptr_test.cpp index fdfb215..444add0 100644 --- a/test/shared_ptr_test.cpp +++ b/test/shared_ptr_test.cpp @@ -764,7 +764,7 @@ void weak_ptr_constructor() boost::shared_ptr p2(wp); BOOST_ERROR("shared_ptr p2(wp) failed to throw"); } - catch(boost::bad_weak_ptr) + catch(boost::bad_weak_ptr const&) { } @@ -773,7 +773,7 @@ void weak_ptr_constructor() boost::shared_ptr p3(wp); BOOST_ERROR("shared_ptr p3(wp) failed to throw"); } - catch(boost::bad_weak_ptr) + catch(boost::bad_weak_ptr const&) { } } @@ -829,7 +829,7 @@ void weak_ptr_constructor() boost::shared_ptr p2(wp); BOOST_ERROR("shared_ptr p2(wp) failed to throw"); } - catch(boost::bad_weak_ptr) + catch(boost::bad_weak_ptr const&) { } @@ -838,7 +838,7 @@ void weak_ptr_constructor() boost::shared_ptr p3(wp); BOOST_ERROR("shared_ptr p3(wp) failed to throw"); } - catch(boost::bad_weak_ptr) + catch(boost::bad_weak_ptr const&) { } }