Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of warnings with boost 1.75.0 and casacore 3.4.0 #216

Open
gijzelaerr opened this issue Feb 23, 2021 · 0 comments
Open

Lots of warnings with boost 1.75.0 and casacore 3.4.0 #216

gijzelaerr opened this issue Feb 23, 2021 · 0 comments

Comments

@gijzelaerr
Copy link
Member

creating build/temp.linux-x86_64-3.9/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/functional.cc -o build/temp.linux-x86_64-3.9/src/functional.o -std=c++11
creating build/temp.linux-x86_64-3.9/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/fit.cc -o build/temp.linux-x86_64-3.9/src/fit.o -std=c++11
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/images.cc -o build/temp.linux-x86_64-3.9/src/images.o -std=c++11
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pymeas.cc -o build/temp.linux-x86_64-3.9/src/pymeas.o -std=c++11
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fit.cc:28:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /opt/boost/include/boost/function/function_base.hpp:16,
                 from /opt/boost/include/boost/function/detail/prologue.hpp:17,
                 from /opt/boost/include/boost/function/function_template.hpp:13,
                 from /opt/boost/include/boost/function/detail/maybe_include.hpp:15,
                 from /opt/boost/include/boost/function/function0.hpp:11,
                 from /opt/boost/include/boost/python/errors.hpp:13,
                 from /opt/boost/include/boost/python/handle.hpp:11,
                 from /opt/boost/include/boost/python/args_fwd.hpp:10,
                 from /opt/boost/include/boost/python/args.hpp:10,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fit.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeas.cc:28:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /opt/boost/include/boost/function/function_base.hpp:16,
                 from /opt/boost/include/boost/function/detail/prologue.hpp:17,
                 from /opt/boost/include/boost/function/function_template.hpp:13,
                 from /opt/boost/include/boost/function/detail/maybe_include.hpp:15,
                 from /opt/boost/include/boost/function/function0.hpp:11,
                 from /opt/boost/include/boost/python/errors.hpp:13,
                 from /opt/boost/include/boost/python/handle.hpp:11,
                 from /opt/boost/include/boost/python/args_fwd.hpp:10,
                 from /opt/boost/include/boost/python/args.hpp:10,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeas.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functional.cc:28:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /opt/boost/include/boost/function/function_base.hpp:16,
                 from /opt/boost/include/boost/function/detail/prologue.hpp:17,
                 from /opt/boost/include/boost/function/function_template.hpp:13,
                 from /opt/boost/include/boost/function/detail/maybe_include.hpp:15,
                 from /opt/boost/include/boost/function/function0.hpp:11,
                 from /opt/boost/include/boost/python/errors.hpp:13,
                 from /opt/boost/include/boost/python/handle.hpp:11,
                 from /opt/boost/include/boost/python/args_fwd.hpp:10,
                 from /opt/boost/include/boost/python/args.hpp:10,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functional.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/functional.cc:28:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functional.cc:28:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/pymeas.cc:28:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeas.cc:28:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/fit.cc:28:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fit.cc:28:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeas.cc:28:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functional.cc:28:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fit.cc:28:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/images.cc:31:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pyimages.cc -o build/temp.linux-x86_64-3.9/src/pyimages.o -std=c++11
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/fitting.cc -o build/temp.linux-x86_64-3.9/src/fitting.o -std=c++11
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pymeasures.cc -o build/temp.linux-x86_64-3.9/src/pymeasures.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pyimages.cc:29:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
src/pyimages.cc: In function ‘void casacore::python::pyimages()’:
src/pyimages.cc:48:34: error: ‘vector’ was not declared in this scope
   48 |       .def (init<String, String, vector<ImageProxy> >())
      |                                  ^~~~~~
src/pyimages.cc:48:34: note: suggested alternatives:
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/vector:67,
                 from /usr/local/include/casacore/casa/Arrays/IPosition.h:34,
                 from /usr/local/include/casacore/lattices/Lattices/LatticeBase.h:35,
                 from /usr/local/include/casacore/images/Images/ImageProxy.h:35,
                 from src/pyimages.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_vector.h:386:11: note:   ‘std::vector’
  386 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
In file included from /opt/boost/include/boost/mpl/aux_/include_preprocessed.hpp:37,
                 from /opt/boost/include/boost/mpl/vector.hpp:46,
                 from /opt/boost/include/boost/math/policies/policy.hpp:14,
                 from /opt/boost/include/boost/math/special_functions/math_fwd.hpp:29,
                 from /opt/boost/include/boost/math/special_functions/sign.hpp:17,
                 from /opt/boost/include/boost/lexical_cast/detail/inf_nan.hpp:34,
                 from /opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
                 from /opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
                 from /opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44,
                 from /opt/boost/include/boost/lexical_cast.hpp:32,
                 from /opt/boost/include/boost/python/operators.hpp:19,
                 from /opt/boost/include/boost/python.hpp:49,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pyimages.cc:29:
/opt/boost/include/boost/mpl/aux_/preprocessed/gcc/vector.hpp:22:8: note:   ‘boost::mpl::vector’
   22 | struct vector;
      |        ^~~~~~
In file included from /opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:52,
                 from /opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44,
                 from /opt/boost/include/boost/lexical_cast.hpp:32,
                 from /opt/boost/include/boost/python/operators.hpp:19,
                 from /opt/boost/include/boost/python.hpp:49,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pyimages.cc:29:
/opt/boost/include/boost/container/container_fwd.hpp:104:7: note:   ‘boost::container::vector’
  104 | class vector;
      |       ^~~~~~
src/pyimages.cc:48:51: error: template argument 3 is invalid
   48 |       .def (init<String, String, vector<ImageProxy> >())
      |                                                   ^
src/pyimages.cc:48:55: error: expected primary-expression before ‘)’ token
   48 |       .def (init<String, String, vector<ImageProxy> >())
      |                                                       ^
building 'casacore.quanta._quanta' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/quanta.cc -o build/temp.linux-x86_64-3.9/src/quanta.o -std=c++11
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fitting.cc:29:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /opt/boost/include/boost/function/function_base.hpp:16,
                 from /opt/boost/include/boost/function/detail/prologue.hpp:17,
                 from /opt/boost/include/boost/function/function_template.hpp:13,
                 from /opt/boost/include/boost/function/detail/maybe_include.hpp:15,
                 from /opt/boost/include/boost/function/function0.hpp:11,
                 from /opt/boost/include/boost/python/errors.hpp:13,
                 from /opt/boost/include/boost/python/handle.hpp:11,
                 from /opt/boost/include/boost/python/args_fwd.hpp:10,
                 from /opt/boost/include/boost/python/args.hpp:10,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fitting.cc:29:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/fitting.cc:29:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fitting.cc:29:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeasures.cc:28:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /opt/boost/include/boost/function/function_base.hpp:16,
                 from /opt/boost/include/boost/function/detail/prologue.hpp:17,
                 from /opt/boost/include/boost/function/function_template.hpp:13,
                 from /opt/boost/include/boost/function/detail/maybe_include.hpp:15,
                 from /opt/boost/include/boost/function/function0.hpp:11,
                 from /opt/boost/include/boost/python/errors.hpp:13,
                 from /opt/boost/include/boost/python/handle.hpp:11,
                 from /opt/boost/include/boost/python/args_fwd.hpp:10,
                 from /opt/boost/include/boost/python/args.hpp:10,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeasures.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/fitting.cc:29:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/pymeasures.cc:28:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeasures.cc:28:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/pymeasures.cc:28:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/casacore
creating build/lib.linux-x86_64-3.9/casacore/fitting
g++ -pthread -shared -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio build/temp.linux-x86_64-3.9/src/fit.o build/temp.linux-x86_64-3.9/src/fitting.o -L/opt/boost/lib -L/usr/local/lib -lcasa_scimath -lcasa_scimath_f -lboost_python39 -lcasa_python3 -o build/lib.linux-x86_64-3.9/casacore/fitting/_fitting.cpython-39-x86_64-linux-gnu.so
building 'casacore.tables._tables' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pyms.cc -o build/temp.linux-x86_64-3.9/src/pyms.o -std=c++11
creating build/lib.linux-x86_64-3.9/casacore/measures
g++ -pthread -shared -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio build/temp.linux-x86_64-3.9/src/pymeas.o build/temp.linux-x86_64-3.9/src/pymeasures.o -L/opt/boost/lib -L/usr/local/lib -lcasa_measures -lcasa_scimath -lcasa_scimath_f -lcasa_tables -lboost_python39 -lcasa_python3 -o build/lib.linux-x86_64-3.9/casacore/measures/_measures.cpython-39-x86_64-linux-gnu.so
building 'casacore._tConvert' extension
creating build/temp.linux-x86_64-3.9/tests
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c tests/tConvert.cc -o build/temp.linux-x86_64-3.9/tests/tConvert.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/quanta.cc:31:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
tests/tConvert.cc:34:10: fatal error: casacore/casa/Arrays/ArrayIO.h: No such file or directory
   34 | #include <casacore/casa/Arrays/ArrayIO.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/quantamath.cc -o build/temp.linux-x86_64-3.9/src/quantamath.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pyms.cc:3:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantamath.cc:33:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /usr/local/include/casacore/casa/Arrays/ArrayFwd.h:4,
                 from /usr/local/include/casacore/casa/Quanta/QuantumType.h:33,
                 from /usr/local/include/casacore/casa/Quanta/Quantum.tcc:33,
                 from /usr/local/include/casacore/casa/Quanta/Quantum.h:447,
                 from /usr/local/include/casacore/casa/Quanta/QC.h:35,
                 from /usr/local/include/casacore/casa/Quanta.h:36,
                 from src/quantamath.cc:27:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/quantamath.cc:33:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantamath.cc:33:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantamath.cc:33:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pytable.cc -o build/temp.linux-x86_64-3.9/src/pytable.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pytable.cc:30:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/quantity.cc -o build/temp.linux-x86_64-3.9/src/quantity.o -std=c++11
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantity.cc:39:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /usr/local/include/casacore/casa/Arrays/ArrayFwd.h:4,
                 from /usr/local/include/casacore/casa/Quanta/QuantumType.h:33,
                 from /usr/local/include/casacore/casa/Quanta/Quantum.tcc:33,
                 from /usr/local/include/casacore/casa/Quanta/Quantum.h:447,
                 from /usr/local/include/casacore/casa/Quanta/QC.h:35,
                 from /usr/local/include/casacore/casa/Quanta.h:36,
                 from src/quantity.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/quantity.cc:39:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantity.cc:39:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantity.cc:39:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/functionals.cc -o build/temp.linux-x86_64-3.9/src/functionals.o -std=c++11
In file included from /opt/boost/include/boost/python/detail/wrap_python.hpp:57,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functionals.cc:30:
/opt/python/cp39-cp39/include/python3.9/pyconfig.h:1587: warning: "_LARGEFILE_SOURCE" redefined
 1587 | #define _LARGEFILE_SOURCE 1
      |
In file included from /usr/local/include/casacore/casa/aips.h:32,
                 from src/functionals.h:31,
                 from src/functionals.cc:28:
/usr/local/include/casacore/casa/aipsenv.h:232: note: this is the location of the previous definition
  232 | #  define _LARGEFILE_SOURCE
      |
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functionals.cc:30:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /opt/boost/include/boost/function/function_base.hpp:16,
                 from /opt/boost/include/boost/function/detail/prologue.hpp:17,
                 from /opt/boost/include/boost/function/function_template.hpp:13,
                 from /opt/boost/include/boost/function/detail/maybe_include.hpp:15,
                 from /opt/boost/include/boost/function/function0.hpp:11,
                 from /opt/boost/include/boost/python/errors.hpp:13,
                 from /opt/boost/include/boost/python/handle.hpp:11,
                 from /opt/boost/include/boost/python/args_fwd.hpp:10,
                 from /opt/boost/include/boost/python/args.hpp:10,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functionals.cc:30:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/functionals.cc:30:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functionals.cc:30:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/functionals.cc:30:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/quantvec.cc -o build/temp.linux-x86_64-3.9/src/quantvec.o -std=c++11
creating build/lib.linux-x86_64-3.9/casacore/functionals
g++ -pthread -shared -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio build/temp.linux-x86_64-3.9/src/functional.o build/temp.linux-x86_64-3.9/src/functionals.o -L/opt/boost/lib -L/usr/local/lib -lcasa_scimath -lcasa_scimath_f -lboost_python39 -lcasa_python3 -o build/lib.linux-x86_64-3.9/casacore/functionals/_functionals.cpython-39-x86_64-linux-gnu.so
In file included from /opt/boost/include/boost/python/detail/is_xxx.hpp:8,
                 from /opt/boost/include/boost/python/detail/is_auto_ptr.hpp:9,
                 from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantvec.cc:39:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
/opt/boost/include/boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/memory:80,
                 from /usr/local/include/casacore/casa/Arrays/ArrayFwd.h:4,
                 from /usr/local/include/casacore/casa/Quanta/QuantumType.h:33,
                 from /usr/local/include/casacore/casa/Quanta/Quantum.tcc:33,
                 from /usr/local/include/casacore/casa/Quanta/Quantum.h:447,
                 from /usr/local/include/casacore/casa/Quanta/QC.h:35,
                 from /usr/local/include/casacore/casa/Quanta.h:36,
                 from src/quantvec.cc:28:
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /opt/boost/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:15,
                 from /opt/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343,
                 from /opt/boost/include/boost/python/call_method.hpp:33,
                 from /opt/boost/include/boost/python.hpp:17,
                 from src/quantvec.cc:39:
/opt/boost/include/boost/python/call_method.hpp: In function ‘typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<Target>*)’:
/opt/boost/include/boost/python/call_method.hpp:66:13: warning: ‘PyObject* PyEval_CallMethod(PyObject*, const char*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
   66 |             BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
      |             ^
In file included from /opt/python/cp39-cp39/include/python3.9/Python.h:145,
                 from /opt/boost/include/boost/python/detail/wrap_python.hpp:178,
                 from /opt/boost/include/boost/python/detail/prefix.hpp:13,
                 from /opt/boost/include/boost/python/args.hpp:8,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantvec.cc:39:
/opt/python/cp39-cp39/include/python3.9/ceval.h:28:43: note: declared here
   28 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
      |                                           ^~~~~~~~~~~~~~~~~
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from src/quantvec.cc:39:
/opt/boost/include/boost/bind.hpp: At global scope:
/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/opt/boost/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pytableindex.cc -o build/temp.linux-x86_64-3.9/src/pytableindex.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pytableindex.cc:30:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-3.9/casacore/quanta
g++ -pthread -shared -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio build/temp.linux-x86_64-3.9/src/quanta.o build/temp.linux-x86_64-3.9/src/quantamath.o build/temp.linux-x86_64-3.9/src/quantity.o build/temp.linux-x86_64-3.9/src/quantvec.o -L/opt/boost/lib -L/usr/local/lib -lcasa_casa -lboost_python39 -lcasa_python3 -o build/lib.linux-x86_64-3.9/casacore/quanta/_quanta.cpython-39-x86_64-linux-gnu.so
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pytableiter.cc -o build/temp.linux-x86_64-3.9/src/pytableiter.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pytableiter.cc:30:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/pytablerow.cc -o build/temp.linux-x86_64-3.9/src/pytablerow.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/pytablerow.cc:30:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio -fPIC -I/opt/boost/include -I/usr/local/include -I/opt/python/cp39-cp39/include/python3.9 -c src/tables.cc -o build/temp.linux-x86_64-3.9/src/tables.o -std=c++11
In file included from /opt/boost/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /opt/boost/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /opt/boost/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /opt/boost/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /opt/boost/include/boost/shared_ptr.hpp:17,
                 from /opt/boost/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:15,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /usr/local/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/tables.cc:31:
/opt/boost/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-3.9/casacore/tables
g++ -pthread -shared -I/opt/boost/include -L/opt/boost/lib -I/usr/include/cfitsio build/temp.linux-x86_64-3.9/src/pyms.o build/temp.linux-x86_64-3.9/src/pytable.o build/temp.linux-x86_64-3.9/src/pytableindex.o build/temp.linux-x86_64-3.9/src/pytableiter.o build/temp.linux-x86_64-3.9/src/pytablerow.o build/temp.linux-x86_64-3.9/src/tables.o -L/opt/boost/lib -L/usr/local/lib -lcasa_derivedmscal -lcasa_meas -lcasa_ms -lcasa_tables -lboost_python39 -lcasa_python3 -o build/lib.linux-x86_64-3.9/casacore/tables/_tables.cpython-39-x86_64-linux-gnu.so
error: command '/opt/rh/devtoolset-9/root/usr/bin/gcc' failed with exit code 1
The command '/bin/sh -c /opt/python/${TARGET}/bin/python ./setup.py build_ext -j${THREADS}' returned a non-zero code: 1
@gijzelaerr gijzelaerr changed the title Lots of warnings (and an error) with boost 1.75.0 and casacore 3.4.0z Lots of warnings with boost 1.75.0 and casacore 3.4.0 Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant