You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Roger Leigh (JIRA)" <ji...@apache.org> on 2018/06/12 17:41:00 UTC
[jira] [Commented] (XALANC-775) Xalan is incompatible with C++17
[ https://issues.apache.org/jira/browse/XALANC-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16509938#comment-16509938 ]
Roger Leigh commented on XALANC-775:
------------------------------------
Please see https://github.com/rleigh-codelibre/xalan-c/tree/remove-unary-binary-function for a work in progress fix. I don't have any access to xalan-c's version control to commit it, and I don't have the time available to finish it off. But feel free to pick it up.
> Xalan is incompatible with C++17
> --------------------------------
>
> Key: XALANC-775
> URL: https://issues.apache.org/jira/browse/XALANC-775
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: 1.11
> Reporter: Hermann Walth
> Assignee: Steven J. Hathaway
> Priority: Major
>
> In C++ 17, the template classes std::unary_function and std::binary_function have been removed. Since Xalan derives multiple classes from these classes, using it with the flag -std=c++17 fails.
> This does not just affect compilation of Xalan itself, but any project that includes Xalan's header files, as including those files causes errors about the nonexisting symbol std::unary_function.
> I'm currently working on a project that uses Xalan, and this issue is stopping us from moving our codebase to C++17.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org