Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.12
-
None
-
macOS 10.11
Description
src/xalanc/PlatformSupport/DoubleSupport.cpp uses std::atof but does not include the corresponding header <cstdlib>. This caused the build to fail for us on some macOS versions, and presumably would do the same anywhere that the other included headers don't happen to include cstdlib internally.
The same include is also needed in src/xalanc/XSLT/FunctionSystemProperty.cpp for std::getenv, and in src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp for std::rand.