Bug #9916
openCLASS compilation fails with gcc5 ( 5.1.0 )
100%
Description
Compiler diagnosis :
In file included from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSLogger.hxx:19:0,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSObject.hxx:18,
from CLASSObjectDict.h:34,
from CLASSObjectDict.cxx:17:
/opt/local/include/gcc5/c++/sstream:300:7: error: 'struct std::__cxx11::basic_stringbuf<_CharT, Traits, _Alloc>::_xfer_bufptrs' redeclared with different access
struct _xfer_bufptrs
^
In file included from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSLogger.hxx:19:0,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSObject.hxx:18,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSFacility.hxx:15,
from CLASSFacilityDict.h:34,
from CLASSFacilityDict.cxx:17:
/opt/local/include/gcc5/c++/sstream:300:7: error: 'struct std::_cxx11::basic_stringbuf<_CharT, Traits, _Alloc>::_xfer_bufptrs' redeclared with different access
struct _xfer_bufptrs
^
In file included from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSLogger.hxx:19:0,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSObject.hxx:18,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/DecayDataBank.hxx:10,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/CLASSConstante.hxx:8,
from /Users/leniau/Applications/APP_SCIENCES/CLASS_Support/source/include/FabricationPlant.hxx:15,
from FabricationPlantDict.h:34,
from FabricationPlantDict.cxx:17:
/opt/local/include/gcc5/c++/sstream:300:7: error: 'struct std::_cxx11::basic_stringbuf<_CharT, Traits, _Alloc>::_xfer_bufptrs' redeclared with different access
struct __xfer_bufptrs
^
make: * [CLASSObjectDict.o] Error 1
make: Waiting for unfinished jobs....
make: [CLASSFacilityDict.o] Error 1
make: * [FabricationPlantDict.o] Error 1