Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1995

Allow compiling Xerces-C using C++11 (especially Clang)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.1.2, 3.2.0
    • Utilities
    • Shouldn't matter (FreeBSD9.1 RC1)

    Description

      gcc issues a couple of warnings in C++11 about narrowing conversions, clang refuses to build for the same reason.

      The attached patch solves this trivial problem by adding a few static casts in the right places.

      While you're on it you might also want to apply XERCESC-1994, which had been revealed by compiling xerces-c using Clang.

      Attachments

        1. CompileXercersC++11.patch
          6 kB
          Michael Gmelin

        Activity

          People

            amassari Alberto Massari
            grembo Michael Gmelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: