boostorg / ptr_container

Boost.org ptr_container module
http://boost.org/libs/ptr_container
Boost Software License 1.0
14 stars 41 forks source link

Remove remaining deprecation warnings. #13

Closed Romain-Geissler-1A closed 6 years ago

Romain-Geissler-1A commented 6 years ago

Work in progress: I will grep all deprecation warning from the travis output that are emitted directly by the the public includes, not the ones from the test themselves.

Romain-Geissler-1A commented 6 years ago

@pdimov Checked with travis logs for gcc 6 and gcc 7: no more deprecation warnings except from tests directly:

curl -L 'https://api.travis-ci.org/jobs/314132423/log.txt?deansi=true' | grep -- "-Wdeprecated-declarations" |sort -u|grep -v "^libs/ptr_container/test" curl -L 'https://api.travis-ci.org/jobs/314132424/log.txt?deansi=true' | grep -- "-Wdeprecated-declarations" |sort -u|grep -v "^libs/ptr_container/test"

pdimov commented 6 years ago

I wonder whether it's worth fixing test/sequence_test_data.hpp and test/associative_test_data.hpp while we're at it. On one hand, many test .cpp files have plenty of auto_ptr too. On the other, it will silence quite a lot.

Romain-Geissler-1A commented 6 years ago

I just did the same for the two test header files you mentioned.

pdimov commented 6 years ago

Perfect, thanks.