Actions
Bug #884
closedCompilation on Solaris with SunPro Studio 12.6 in C++11 mode fails because of std::ios::nocreate
Start date:
2019-04-30
Due date:
% Done:
100%
Estimated time:
Module:
ofstd
Operating System:
Solaris
Compiler:
SunPro Studio 12.6 in C++11 mode
Description
When compiling DCMTK on Solaris with SunPro Studio 12.6 in C++11, compilation fails with the following error message:
"ofstd/libsrc/ofcmdln.cc", line 1100: Error: nocreate is not a member of std::ios.std::ios::nocreate is a proprietary extension that should indeed not be present in C++11 mode. However, we have a CMake test that checks whether ios::nocreate exists. Apparently this test is run with different compiler settings and determines that ios::nocreate is available.
Actions