You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Joshua Root (Jira)" <ji...@apache.org> on 2022/12/14 10:35:00 UTC
[jira] [Updated] (XALANC-819) Missing include in DoubleSupport.cpp etc.
[ https://issues.apache.org/jira/browse/XALANC-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Root updated XALANC-819:
-------------------------------
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}}.
was:{{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.
Summary: Missing include in DoubleSupport.cpp etc. (was: Missing include in DoubleSupport.cpp)
> Missing include in DoubleSupport.cpp etc.
> -----------------------------------------
>
> Key: XALANC-819
> URL: https://issues.apache.org/jira/browse/XALANC-819
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: 1.12
> Environment: macOS 10.11
> Reporter: Joshua Root
> Assignee: Gary D. Gregory
> Priority: Major
> Labels: build-failure
>
> {{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}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org