RE: How to build with XMLCh = wchar_t on Windows platform.

2018-01-24 Thread Mark Douglas
Thanks for the clarification Roger! Kind regards, Mark -Original Message- From: rle...@codelibre.net [mailto:rle...@codelibre.net] Sent: 24 January 2018 11:40 To: c-users@xerces.apache.org Subject: Re: How to build with XMLCh = wchar_t on Windows platform. On 2018-01-24 09:30, Mark

Re: How to build with XMLCh = wchar_t on Windows platform.

2018-01-24 Thread rleigh
On 2018-01-24 09:30, Mark Douglas wrote: As a side note, we have a lot of 32-bit C++ code that needs conversion, but this is going to take time (other 3rd party libraries involved). If you were to drop 32-bit support, this could become an issue for us in the short-term. I'm not sure if there are

RE: How to build with XMLCh = wchar_t on Windows platform.

2018-01-24 Thread Mark Douglas
ther Xerces C++ users who have legacy 32-bit code that they need to maintain. Please don't drop 32-bit support too soon! Kind regards, Mark -Original Message- From: Roger Leigh [mailto:rle...@codelibre.net] Sent: 23 January 2018 22:46 To: c-users@xerces.apache.org Subject: Re: H

Re: How to build with XMLCh = wchar_t on Windows platform.

2018-01-23 Thread Roger Leigh
On 23/01/18 14:59, Mark Douglas wrote: Hi Roger, I think Microsoft have had wchar_t as a type way before char16_t was introduced (as far back as I can remember, which is getting shorter as I get older :)). At the time, Microsoft were well known for doing things the 'Microsoft way' and not fol

RE: How to build with XMLCh = wchar_t on Windows platform.

2018-01-23 Thread Mark Douglas
ect file to achieve this. Many thanks, Mark -Original Message- From: rle...@codelibre.net [mailto:rle...@codelibre.net] Sent: 23 January 2018 14:46 To: c-users@xerces.apache.org Subject: Re: How to build with XMLCh = wchar_t on Windows platform. On 2018-01-23 14:12, Mark Douglas wrote:

Re: How to build with XMLCh = wchar_t on Windows platform.

2018-01-23 Thread rleigh
On 2018-01-23 14:12, Mark Douglas wrote: Hi Roger, Thank you very much for this valuable feedback! As I'm new to CMake, I didn't find the options of disabling char16_t (at least I wasn't looking for the right thing to start with!). I think the default policy of using char16_t, if it is availabl

RE: How to build with XMLCh = wchar_t on Windows platform.

2018-01-23 Thread Mark Douglas
[mailto:rle...@codelibre.net] Sent: 23 January 2018 13:57 To: c-users@xerces.apache.org Subject: Re: How to build with XMLCh = wchar_t on Windows platform. On 2018-01-23 12:03, Mark Douglas wrote: > Hi, > > This is my first mail to this group, so hopefully I've come to the > correct

Re: How to build with XMLCh = wchar_t on Windows platform.

2018-01-23 Thread rleigh
On 2018-01-23 12:03, Mark Douglas wrote: Hi, This is my first mail to this group, so hopefully I've come to the correct place! Yes, it is! I'm currently attempting to build and use Xerces C++ 3.2.0 in my application, but I'm having an issue where XMLCh is defined as char16_t (not compatible

How to build with XMLCh = wchar_t on Windows platform.

2018-01-23 Thread Mark Douglas
Hi, This is my first mail to this group, so hopefully I've come to the correct place! I'm currently attempting to build and use Xerces C++ 3.2.0 in my application, but I'm having an issue where XMLCh is defined as char16_t (not compatible with wchar_t). From what I've read, I'd actually like X