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

cmake: Add the ability to force the specific XMLCh type to use

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.1
    • Build
    • None

    Description

      Currently the CMake build default to a 16-bit integer type.  It will use char16_t where available, and fall back to wchar_t on Windows when available.  This means that old Visual Studio versions will use wchar_t while newer ones use char16_t, but there are cases where selection of a specific XMLCh type is desirable, to force the use of wchar_t e.g. for compatibility reasons.

       

      Add an option to select a specific XMLCh type, overriding the default checks and fallbacks.

       

      Also, check that the autotools build behaves the same way.

      Attachments

        Activity

          People

            rleigh Roger Leigh
            rleigh Roger Leigh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: