HepMC3 master fails to compile on macOS 13
Since !262 (merged)
We are getting errors when building HepMC3 master on mac13arm
[ 95%] Building CXX object python/CMakeFiles/pyHepMC33.9.6.dir/src/pyHepMC3_16.cpp.o
/Users/sftnight/build/workspace/lcg_nightly_pipeline/build/projects/hepmc3-HEAD/src/hepmc3/HEAD/python/src/pyHepMC3_16.cpp:48:41: error: no enum named '_Ios_Iostate' in namespace 'std'
cl.def("initfile_rdstate", (enum std::_Ios_Iostate (LHEF::Reader::*)() const) &LHEF::Reader::initfile_rdstate, "initfile rdstate\n\nC++: LHEF::Reader::initfile_rdstate() const --> enum std::_Ios_Iostate");
~~~~~^
/Users/sftnight/build/workspace/lcg_nightly_pipeline/build/projects/hepmc3-HEAD/src/hepmc3/HEAD/python/src/pyHepMC3_16.cpp:48:96: error: call to non-static member function without an object argument
cl.def("initfile_rdstate", (enum std::_Ios_Iostate (LHEF::Reader::*)() const) &LHEF::Reader::initfile_rdstate, "initfile rdstate\n\nC++: LHEF::Reader::initfile_rdstate() const --> enum std::_Ios_Iostate");
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/sftnight/build/workspace/lcg_nightly_pipeline/build/projects/hepmc3-HEAD/src/hepmc3/HEAD/python/src/pyHepMC3_16.cpp:49:37: error: no enum named '_Ios_Iostate' in namespace 'std'
cl.def("file_rdstate", (enum std::_Ios_Iostate (LHEF::Reader::*)() const) &LHEF::Reader::file_rdstate, "file rdstate\n\nC++: LHEF::Reader::file_rdstate() const --> enum std::_Ios_Iostate");
~~~~~^
/Users/sftnight/build/workspace/lcg_nightly_pipeline/build/projects/hepmc3-HEAD/src/hepmc3/HEAD/python/src/pyHepMC3_16.cpp:49:92: error: call to non-static member function without an object argument
cl.def("file_rdstate", (enum std::_Ios_Iostate (LHEF::Reader::*)() const) &LHEF::Reader::file_rdstate, "file rdstate\n\nC++: LHEF::Reader::file_rdstate() const --> enum std::_Ios_Iostate");
~~~~~~~~~~~~~~^~~~~~~~~~~~
4 errors generated.
See the full log here https://lcgapp-services.cern.ch/cdash/viewFiles.php?buildid=265460