You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Roger Leigh (JIRA)" <xe...@xml.apache.org> on 2018/01/30 20:08:00 UTC
[jira] [Resolved] (XERCESC-2132) cmake: Add the ability to force
the specific XMLCh type to use
[ https://issues.apache.org/jira/browse/XERCESC-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Leigh resolved XERCESC-2132.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.2.1
Fixed in SVN commits 1822689-93.
[~akrantz] The reinterpret_cast fixes are now in place as well. If you would like to re-test, it should build without problems for all possible (valid) configurations now.
> cmake: Add the ability to force the specific XMLCh type to use
> --------------------------------------------------------------
>
> Key: XERCESC-2132
> URL: https://issues.apache.org/jira/browse/XERCESC-2132
> Project: Xerces-C++
> Issue Type: Improvement
> Components: Build
> Affects Versions: 3.2.0
> Reporter: Roger Leigh
> Assignee: Roger Leigh
> Priority: Major
> Fix For: 3.2.1
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org