Currently we are not C++17 compatible, because std::ptr_fun was removed in 17.
Building CXX object GaudiPluginService/CMakeFiles/DD4hepGaudiPluginMgr.dir/src/PluginService.cpp.o
/Users/lcdci/lcg96/DD4hep/GaudiPluginService/src/PluginService.cpp:52:45: error: no member named 'ptr_fun' in namespace 'std'
std::not1(std::ptr_fun<int, int>(std::isspace))));
~~~~~^
/Users/lcdci/lcg96/DD4hep/GaudiPluginService/src/PluginService.cpp:52:56: error: expected '(' for function-style cast or type construction
std::not1(std::ptr_fun<int, int>(std::isspace))));
~~~^
/Users/lcdci/lcg96/DD4hep/GaudiPluginService/src/PluginService.cpp:52:61: error: expected '(' for function-style cast or type construction
std::not1(std::ptr_fun<int, int>(std::isspace))));
~~~^
/Users/lcdci/lcg96/DD4hep/GaudiPluginService/src/PluginService.cpp:59:45: error: no member named 'ptr_fun' in namespace 'std'
std::not1(std::ptr_fun<int, int>(std::isspace)))
~~~~~^
/Users/lcdci/lcg96/DD4hep/GaudiPluginService/src/PluginService.cpp:59:56: error: expected '(' for function-style cast or type construction
std::not1(std::ptr_fun<int, int>(std::isspace)))
~~~^
/Users/lcdci/lcg96/DD4hep/GaudiPluginService/src/PluginService.cpp:59:61: error: expected '(' for function-style cast or type construction
std::not1(std::ptr_fun<int, int>(std::isspace)))
~~~^
We did not notice this till now since gcc8 in C++17 mode does not complain about this but Apple clang does.
At this point I would also like to raise the point that the GaudiPluginService has been rewriten to modern C++ and released in Gaudi v30r3 , the current version in v32r0 has even more corrections.
I think it would be good to update the plugin manager.
Currently we are not C++17 compatible, because
std::ptr_fun
was removed in 17.We did not notice this till now since gcc8 in C++17 mode does not complain about this but Apple clang does.
At this point I would also like to raise the point that the GaudiPluginService has been rewriten to modern C++ and released in Gaudi v30r3 , the current version in v32r0 has even more corrections.
I think it would be good to update the plugin manager.