Compile from source fails due to the deprecated use of boost::path API.
Boost version: 1.85
Error:
/app/build/ShapeMapper2/2.3/GCC-13.3.0/shapemapper2-2.3/internals/cpp-src/src/MutationParser.cpp:894:17: error: ‘extension’ is not a member of ‘BF’
894 | if (BF::extension(BF::path(filename)) == ".gz") {
| ^~~~~~~~~
/app/build/ShapeMapper2/2.3/GCC-13.3.0/shapemapper2-2.3/internals/cpp-src/src/MutationParser.cpp:907:17: error: ‘extension’ is not a member of ‘BF’
907 | if (BF::extension(BF::path(outname)) == ".gz") {
| ^~~~~~~~~
Fix with:
- if (BF::extension(BF::path(filename)) == ".gz") {
+ if (BF::path(filename).extension() == ".gz") {
Compile from source fails due to the deprecated use of boost::path API.
Boost version: 1.85
Error:
Fix with: