[ 
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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to