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

Xalan is incompatible with C++17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11
    • None
    • XalanC
    • 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

            shathaway Steven J. Hathaway
            hwalth2 Hermann Walth
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: