while trying to migrate a custom piece of code on to a new SL7 machine (amd64)
I have a problem that on first look seems to be related to the ROOT version. This looks like:
actually I am using the following (partial) flag:
g++ -O2 -Wall -Wno-unused-local-typedefs -fPIC -D_REENTRANT -pthread -std=c++17 -m64 -I//cvmfs/cms.cern.ch/slc7_amd64_gcc900/lcg/root/6.18.04/include …
i doubled checked again and there were certain cases (exceptions) where the flag -std=c++0x
was used instead of -std=c++17. I fixed it and now it compiles fine. I believe we can now close this thread.
Nice to hear! Note that RStringView.hxx provides a backport of std::string_view to C++11 (which just falls back to std::string_view if ROOT is compiled with at least C++17) – but mixing C++ standards is a no go.