Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:AP S21-3 (February)
-
Team:Alert Production
-
Urgent?:No
Description
Building afw with GCC emits the following warning:
In file included from tests/statisticsSpeed.cc:37:0:
|
/software/lsstsw/stack_20200922/conda/miniconda3-py37_4.8.2/envs/lsst-scipipe/include/boost/timer.hpp:21:70: note: #pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.
|
BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
|
These changes involve moving from an outdated API to a newer one. The code changes are straightforward (see attached branch), but I get linker errors for all new methods (Boost Timer is a compiled library). I'm therefore creating a separate ticket for investigating this.
It looks like the Boost libraries to be linked against are defined in https://github.com/lsst/sconsUtils/tree/master/configs; i.e. they will become available for any C++ project, not just afw. That makes this more than just a trivial API migration.