[jira] [Commented] (XERCESC-2101) Add support for XERCES_XMLCH_T = char16_t

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (XERCESC-2101) Add support for XERCES_XMLCH_T = char16_t

JIRA xerces-c-dev@xml.apache.org

    [ https://issues.apache.org/jira/browse/XERCESC-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106268#comment-16106268 ]

Roger Leigh commented on XERCESC-2101:

Regarding being from scratch, it's about as different a reimplementation as I could make it while still retaining the same functional effect.  Unnecessary parts like the config header changes for windows were dropped outright.  Some parts can't be reimplemented differently and so are the same out of necessity; what's in the patch 0001 is mostly just the addition of reinterpret_cast for wchar_t*, and there's very little freedom to be creative there--I've used reinterpret_cast in place of C style casts wherever possible.

> Add support for XERCES_XMLCH_T = char16_t
> -----------------------------------------
>                 Key: XERCESC-2101
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2101
>             Project: Xerces-C++
>          Issue Type: Improvement
>            Reporter: Vemund Handeland
>            Assignee: Roger Leigh
>            Priority: Minor
>             Fix For: 3.2.0
>         Attachments: 0001-Add-Windows-support-for-XERCES_XMLCH_T-char16_t.patch, 0002-Add-MacOS-X-support-for-XERCES_XMLCH_T-char16_t.patch, 0003-cmake-Check-for-char16_t.patch, 0004-autoconf-Check-for-char16_t.patch, 0005-tests-Add-Char16Test.patch, char16_t.diff
> Attached diff contains the required changes for msvc. The diff is from my local git repo created from the 3.1.4 release.
> Added new macro XERCES_USE_CHAR16_T.
> User can enable the support by define this macro both when building the library and her own application.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]