Warnings: teeks99-dkr-dc17-17 - smart_ptr / clang-linux-17~c++17
Rev e0100e02f080c605b68e13899dc04aab466cbf60 / Sun, 10 Nov 2024 17:47:01 +0000
abi_test_mt_nt
../libs/smart_ptr/test/abi_test_main.cpp:15:1: warning: BOOST_DISABLE_THREADS is not defined [-W#pragma-messages]
../libs/smart_ptr/test/abi_test_main.cpp:21:1: warning: BOOST_NO_CXX11_HDR_ATOMIC is not defined [-W#pragma-messages]
2 warnings generated.
                
abi_test_nt_mt
../libs/smart_ptr/test/abi_test_main.cpp:13:1: warning: BOOST_DISABLE_THREADS is defined [-W#pragma-messages]
../libs/smart_ptr/test/abi_test_main.cpp:21:1: warning: BOOST_NO_CXX11_HDR_ATOMIC is not defined [-W#pragma-messages]
2 warnings generated.
                
array_fail_ap_spa_a
../libs/smart_ptr/test/array_fail_ap_spa_a.cpp:18:10: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning and 1 error generated.
                
array_fail_ap_spa_c
../libs/smart_ptr/test/array_fail_ap_spa_c.cpp:18:10: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning and 1 error generated.
                
array_fail_ap_spa_ma
../libs/smart_ptr/test/array_fail_ap_spa_ma.cpp:18:44: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning and 1 error generated.
                
array_fail_ap_spa_mc
../libs/smart_ptr/test/array_fail_ap_spa_mc.cpp:18:39: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning and 1 error generated.
                
auto_ptr_lv_fail
../libs/smart_ptr/test/auto_ptr_lv_fail.cpp:20:10: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning and 1 error generated.
                
auto_ptr_rv_test
../libs/smart_ptr/test/auto_ptr_rv_test.cpp:39:17: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/auto_ptr_rv_test.cpp:41:21: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
2 warnings generated.
                
cpp11_pointer_cast_test
../libs/smart_ptr/test/cpp11_pointer_cast_test.cpp:50:9: warning: private field 'filler' is not used [-Wunused-private-field]
../libs/smart_ptr/test/cpp11_pointer_cast_test.cpp:56:9: warning: private field 'filler' is not used [-Wunused-private-field]
2 warnings generated.
                
esft_regtest
../libs/smart_ptr/test/esft_regtest.cpp:84:14: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning generated.
                
intrusive_ptr_test
../libs/smart_ptr/test/intrusive_ptr_test.cpp:255:12: warning: explicitly assigning value of variable of type 'boost::intrusive_ptr<X>' to itself [-Wself-assign-overloaded]
1 warning generated.
                
make_shared_fp_test
../libs/smart_ptr/test/make_shared_fp_test.cpp:18:8: warning: unused variable 'fp' [-Wunused-variable]
1 warning generated.
                
pointer_cast_test
../libs/smart_ptr/test/pointer_cast_test.cpp:52:9: warning: private field 'filler' is not used [-Wunused-private-field]
../libs/smart_ptr/test/pointer_cast_test.cpp:58:9: warning: private field 'filler' is not used [-Wunused-private-field]
2 warnings generated.
                
pointer_to_other_test
../libs/smart_ptr/test/pointer_to_other_test.cpp:68:53: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../boost/pointer_to_other.hpp:30:12: warning: 'auto_ptr<Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:68:71: warning: 'type' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:68:82: warning: 'auto_ptr<Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:69:53: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../boost/pointer_to_other.hpp:30:12: warning: 'auto_ptr<void>' is deprecated [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:69:74: warning: 'type' is deprecated [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:69:85: warning: 'auto_ptr<void>' is deprecated [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:70:53: warning: 'auto_ptr<void>' is deprecated [-Wdeprecated-declarations]
../boost/pointer_to_other.hpp:30:12: warning: 'auto_ptr<Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:70:74: warning: 'type' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/pointer_to_other_test.cpp:70:85: warning: 'auto_ptr<Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
12 warnings generated.
                
shared_from_raw_test
../boost/core/checked_delete.hpp:44:5: warning: delete called on non-final 'impl2' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
1 warning generated.
                
shared_from_raw_test2
../libs/smart_ptr/test/shared_from_raw_test2.cpp:82:14: warning: 'auto_ptr<X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
1 warning generated.
                
shared_from_test
../libs/smart_ptr/test/shared_from_test.cpp:19:9: warning: private field 'm_' is not used [-Wunused-private-field]
1 warning generated.
                
shared_from_this_test
../boost/core/checked_delete.hpp:44:5: warning: delete called on non-final 'impl2' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
1 warning generated.
                
shared_ptr_basic_test
../boost/core/checked_delete.hpp:44:5: warning: delete called on non-final 'Y' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
../boost/core/checked_delete.hpp:44:5: warning: delete called on non-final 'X' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
2 warnings generated.
                
shared_ptr_test
../libs/smart_ptr/test/shared_ptr_test.cpp:841:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:852:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:863:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:874:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:885:14: warning: 'auto_ptr<n_constructors::X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:896:14: warning: 'auto_ptr<n_constructors::X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:907:14: warning: 'auto_ptr<n_constructors::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:918:14: warning: 'auto_ptr<n_constructors::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:929:14: warning: 'auto_ptr<n_constructors::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:940:14: warning: 'auto_ptr<n_constructors::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:951:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:967:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:983:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:998:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1015:14: warning: 'auto_ptr<n_constructors::X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1033:14: warning: 'auto_ptr<n_constructors::X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1051:14: warning: 'auto_ptr<n_constructors::X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1069:14: warning: 'auto_ptr<n_constructors::X>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1088:14: warning: 'auto_ptr<n_constructors::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1108:14: warning: 'auto_ptr<n_constructors::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1201:12: warning: explicitly assigning value of variable of type 'boost::shared_ptr<incomplete>' to itself [-Wself-assign-overloaded]
../libs/smart_ptr/test/shared_ptr_test.cpp:1230:12: warning: explicitly assigning value of variable of type 'boost::shared_ptr<void>' to itself [-Wself-assign-overloaded]
../libs/smart_ptr/test/shared_ptr_test.cpp:1274:12: warning: explicitly assigning value of variable of type 'boost::shared_ptr<X>' to itself [-Wself-assign-overloaded]
../libs/smart_ptr/test/shared_ptr_test.cpp:1417:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1426:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1446:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1455:14: warning: 'auto_ptr<int>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1476:14: warning: 'auto_ptr<n_assignment::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../libs/smart_ptr/test/shared_ptr_test.cpp:1487:14: warning: 'auto_ptr<n_assignment::Y>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
../boost/core/checked_delete.hpp:44:5: warning: delete called on non-final 'n_spt_shared_from_this::impl' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
../boost/core/checked_delete.hpp:44:5: warning: delete called on non-final 'n_spt_abstract::X_impl' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
31 warnings generated.
                
smart_ptr_test
../libs/smart_ptr/test/smart_ptr_test.cpp:172:9: warning: explicitly assigning value of variable of type 'boost::shared_ptr<int>' to itself [-Wself-assign-overloaded]
../libs/smart_ptr/test/smart_ptr_test.cpp:272:10: warning: explicitly assigning value of variable of type 'boost::shared_ptr<UDT>' to itself [-Wself-assign-overloaded]
2 warnings generated.
                
sp_report_implementation
../boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp:23:1: warning: Using __atomic sp_counted_base [-W#pragma-messages]
../boost/core/detail/sp_thread_yield.hpp:54:3: warning: Using sched_yield() in sp_thread_yield [-W#pragma-messages]
../boost/core/detail/sp_thread_sleep.hpp:54:3: warning: Using nanosleep() in sp_thread_sleep [-W#pragma-messages]
../boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:19:1: warning: Using __atomic spinlock [-W#pragma-messages]
../boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp:18:1: warning: Using __atomic atomic_count [-W#pragma-messages]
5 warnings generated.
                
weak_from_test
../libs/smart_ptr/test/weak_from_test.cpp:20:9: warning: private field 'm_' is not used [-Wunused-private-field]
1 warning generated.
                
weak_ptr_test
../libs/smart_ptr/test/weak_ptr_test.cpp:494:8: warning: explicitly assigning value of variable of type 'boost::weak_ptr<T>' to itself [-Wself-assign-overloaded]
../libs/smart_ptr/test/weak_ptr_test.cpp:509:8: warning: explicitly assigning value of variable of type 'boost::weak_ptr<T>' to itself [-Wself-assign-overloaded]
../libs/smart_ptr/test/weak_ptr_test.cpp:520:8: warning: explicitly assigning value of variable of type 'boost::weak_ptr<T>' to itself [-Wself-assign-overloaded]
3 warnings generated.