atf-c/check.c: In function 'cleanup_tmpdir':
atf-c/check.c:100:21: warning: unused variable 'err' [-Wunused-variable]
100 | atf_error_t err = atf_fs_rmdir(dir);
| ^~~
atf-c/check.c: In function 'atf_check_exec_array':
atf-c/check.c:467:21: warning: unused variable 'err2' [-Wunused-variable]
467 | atf_error_t err2 = atf_fs_rmdir(&dir);
| ^~~~
atf-c/detail/process.c: In function 'do_exec':
atf-c/detail/process.c:603:15: warning: unused variable 'ret' [-Wunused-variable]
603 | const int ret = const_execvp(atf_fs_path_cstring(ea->m_prog), ea->m_argv);
| ^~~
At top level:
atf-c/detail/process.c:104:1: warning: 'stream_is_valid' defined but not used [-Wunused-function]
104 | stream_is_valid(const atf_process_stream_t *sb)
| ^~~~~~~~~~~~~~~
atf-c/detail/fs.c: In function 'replace_contents':
atf-c/detail/fs.c:299:17: warning: variable 'err' set but not used [-Wunused-but-set-variable]
299 | atf_error_t err;
| ^~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/atf_c++_test.cpp:26:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/atf_c++_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-sh/atf-sh.cpp: In member function 'virtual int atf_sh::main()':
atf-sh/atf-sh.cpp:174:15: warning: unused variable 'ret' [-Wunused-variable]
174 | const int ret = execv(m_shell.c_str(), const_cast< char** >(argv));
| ^~~
In file included from atf-c++/check.cpp:26:
./atf-c++/check.hpp:74:17: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
74 | friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/check.cpp:26:
./atf-c++/check.hpp:123:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
123 | std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check.cpp:144:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
144 | std::auto_ptr< impl::check_result >
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check.cpp: In function 'std::auto_ptr<atf::check::check_result> atf::check::exec(const atf::process::argv_array&)':
atf-c++/check.cpp:153:17: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
153 | return std::auto_ptr< impl::check_result >(new impl::check_result(&result));
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/build_test.cpp:31:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/build_test.cpp:31:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/detail/process.cpp: In destructor 'atf::process::child::~child()':
atf-c++/detail/process.cpp:295:21: warning: unused variable 'err' [-Wunused-variable]
295 | atf_error_t err = atf_process_child_wait(&m_child, &s);
| ^~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/application_test.cpp:32:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/application_test.cpp:32:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/exceptions_test.cpp:35:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/exceptions_test.cpp:35:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from ./atf-c++/detail/test_helpers.hpp:37,
from atf-c++/detail/test_helpers.cpp:26:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from ./atf-c++/detail/test_helpers.hpp:37,
from atf-c++/detail/test_helpers.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/detail/test_helpers.cpp:35:
./atf-c++/check.hpp:74:17: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
74 | friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from ./atf-c++/detail/test_helpers.hpp:37,
from atf-c++/detail/test_helpers.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/detail/test_helpers.cpp:35:
./atf-c++/check.hpp:123:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
123 | std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from ./atf-c++/detail/test_helpers.hpp:37,
from atf-c++/detail/test_helpers.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/env_test.cpp:28:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/env_test.cpp:28:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/tests_test.cpp:26:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from atf-c++/tests_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/auto_array_test.cpp:34:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/auto_array_test.cpp:34:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/check_test.cpp:26:
./atf-c++/check.hpp:74:17: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
74 | friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/check_test.cpp:26:
./atf-c++/check.hpp:123:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
123 | std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/check_test.cpp:42:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:55:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
55 | std::auto_ptr< atf::check::check_result >
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:68:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
68 | std::auto_ptr< atf::check::check_result >
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp: In member function 'virtual void {anonymous}::atfu_tc_exec_cleanup::body() const':
atf-c++/check_test.cpp:251:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
251 | std::auto_ptr< atf::fs::path > out;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:252:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
252 | std::auto_ptr< atf::fs::path > err;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:255:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
255 | std::auto_ptr< atf::check::check_result > r =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp: In member function 'virtual void {anonymous}::atfu_tc_exec_exitstatus::body() const':
atf-c++/check_test.cpp:275:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
275 | std::auto_ptr< atf::check::check_result > r =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:283:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
283 | std::auto_ptr< atf::check::check_result > r =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:291:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
291 | std::auto_ptr< atf::check::check_result > r =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp: In member function 'virtual void {anonymous}::atfu_tc_exec_stdout_stderr::body() const':
atf-c++/check_test.cpp:324:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
324 | std::auto_ptr< atf::check::check_result > r1 =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp:329:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
329 | std::auto_ptr< atf::check::check_result > r2 =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/check_test.cpp: In member function 'virtual void {anonymous}::atfu_tc_exec_unknown::body() const':
atf-c++/check_test.cpp:375:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
375 | std::auto_ptr< atf::check::check_result > r = atf::check::exec(argva);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/check.hpp:34,
from atf-c++/check_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/process_test.cpp:31:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/detail/fs.hpp:34,
from ./atf-c++/detail/process.hpp:41,
from atf-c++/detail/process_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/detail/process_test.cpp: In member function 'virtual void {anonymous}::atfu_tc_argv_array_assign::body() const':
atf-c++/detail/process_test.cpp:199:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
199 | std::auto_ptr< argv_array > argv1(new argv_array(carray1));
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/detail/fs.hpp:34,
from ./atf-c++/detail/process.hpp:41,
from atf-c++/detail/process_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/detail/process_test.cpp:200:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
200 | std::auto_ptr< argv_array > argv2(new argv_array(carray2));
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/detail/fs.hpp:34,
from ./atf-c++/detail/process.hpp:41,
from atf-c++/detail/process_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/detail/process_test.cpp: In member function 'virtual void {anonymous}::atfu_tc_argv_array_copy::body() const':
atf-c++/detail/process_test.cpp:229:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
229 | std::auto_ptr< argv_array > argv1(new argv_array(carray));
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/detail/fs.hpp:34,
from ./atf-c++/detail/process.hpp:41,
from atf-c++/detail/process_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-c++/detail/process_test.cpp:230:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
230 | std::auto_ptr< argv_array > argv2(new argv_array(*argv1));
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/detail/fs.hpp:34,
from ./atf-c++/detail/process.hpp:41,
from atf-c++/detail/process_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from test-programs/cpp_helpers.cpp:35:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from test-programs/cpp_helpers.cpp:35:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/text_test.cpp:32:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/text_test.cpp:32:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/utils_test.cpp:43:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/utils_test.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-sh/atf-check.cpp:46:
./atf-c++/check.hpp:74:17: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
74 | friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from atf-sh/atf-check.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-sh/atf-check.cpp:46:
./atf-c++/check.hpp:123:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
123 | std::auto_ptr< check_result > exec(const atf::process::argv_array&);
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from atf-sh/atf-check.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-sh/atf-check.cpp:106:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
106 | std::auto_ptr< atf::fs::path > m_path;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from atf-sh/atf-check.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-sh/atf-check.cpp: In function 'int parse_signal(const string&)':
atf-sh/atf-check.cpp:219:23: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=]
219 | } catch (std::runtime_error) {
| ^~~~~~~~~~~~~
atf-sh/atf-check.cpp: At global scope:
atf-sh/atf-check.cpp:329:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
329 | std::auto_ptr< atf::check::check_result >
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from atf-sh/atf-check.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-sh/atf-check.cpp:345:6: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
345 | std::auto_ptr< atf::check::check_result >
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from atf-sh/atf-check.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
atf-sh/atf-check.cpp: In member function 'virtual int {anonymous}::atf_check::main()':
atf-sh/atf-check.cpp:805:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
805 | std::auto_ptr< atf::check::check_result > r =
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from atf-sh/atf-check.cpp:43:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from atf-c++/detail/fs_test.cpp:37:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/detail/fs.hpp:34,
from atf-c++/detail/fs_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from ./atf-c++/macros.hpp:33,
from atf-c++/macros_test.cpp:26:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from atf-c++/macros_test.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from atf-c++/tests.cpp:26:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from atf-c++/tests.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
In function 'copy',
inlined from '_S_copy' at /usr/include/c++/11/bits/basic_string.h:351:21,
inlined from '_S_copy' at /usr/include/c++/11/bits/basic_string.h:346:7,
inlined from '_M_replace' at /usr/include/c++/11/bits/basic_string.tcc:481:20,
inlined from 'replace' at /usr/include/c++/11/bits/basic_string.h:1946:19,
inlined from 'insert' at /usr/include/c++/11/bits/basic_string.h:1714:22,
inlined from 'operator+' at /usr/include/c++/11/bits/basic_string.h:6183:23,
inlined from 'build_check_cxx_o' at atf-c++/detail/test_helpers.cpp:56:76,
inlined from 'header_check.constprop' at atf-c++/detail/test_helpers.cpp:82:27:
/usr/include/c++/11/bits/char_traits.h:402:56: warning: '__builtin_memcpy' reading 2 bytes from a region of size 1 [-Wstringop-overread]
402 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
| ^
and for test suites:
In file included from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from bootstrap/h_tp_basic_cpp.cpp:26:
./atf-c++/tests.hpp:76:10: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
76 | std::auto_ptr< tc_impl > pimpl;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./atf-c++/tests.hpp:30,
from ./atf-c++/macros.hpp:33,
from ./atf-c++.hpp:29,
from bootstrap/h_tp_basic_cpp.cpp:26:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
gcc 11.0.1
and for test suites: