Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-775

Xalan is incompatible with C++17

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11
    • Fix Version/s: None
    • Component/s: XalanC
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              shathaway Steven J. Hathaway
              Reporter:
              hwalth2 Hermann Walth
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: