[
https://issues.apache.org/jira/browse/XALANC-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Leigh resolved XALANC-800.
--------------------------------
Resolution: Fixed
> Add CMake feature tests to replace specific platform definitions
> ----------------------------------------------------------------
>
> Key: XALANC-800
> URL: https://issues.apache.org/jira/browse/XALANC-800
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: 1.12
> Reporter: Roger Leigh
> Assignee: Roger Leigh
> Priority: Major
> Fix For: 1.12
>
>
> Macros:
> {noformat}
> __HPACC_THREAD_SAFE_RB_TREE
> __USE_STD_IOSTREAM
> WINDOWS_THREAD_FUNCTIONS
> XALAN_NEWLINE_IS_CRLF
> XALAN_NO_REENTRANT_TIME_FUNCTIONS
> XALAN_NON_ASCII_PLATFORM
> XALAN_PLATFORM_EXPORT
> XALAN_PLATFORM_IMPORT
> XALAN_POSIX2_AVAILABLE
> XALAN_STATIC_ASSERT
> XALAN_WINDOWS
> XALAN_WINDOWS_DIR_FUNCTIONS
> {noformat}
> The underlying problem is that these hardcoded assumptions can be broken.
> Case in point, XALAN_NO_REENTRANT_TIME_FUNCTIONS is defined for GCC under
> MinGW... but current MinGW actually provides localtime_t and gmtime_r, which
> breaks building due to mutually incompatible function declarations. Feature
> tests will remove these assumptions and make building Xalan more robust and
> able to adapt to changes in platforms over time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]