UTF32 crash in poco-1.6.0 - Request for help

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Feb 26 09:10:00 GMT 2015


On Feb 25 22:18, David Stacey wrote:
> On 18/02/15 12:09, David Stacey wrote:
> >The test causing the crash is the UnicodeConverterTest
> >(Foundation/testsuite/src/UnicodeConverterTest.cpp). This is templated,
> >and is instantiated with both UTF16 and UTF32 strings. The UTF16 case
> >works correctly; it is the UTF32 instantiation that is crashing.
> 
> I'm still trying to get to the bottom of this. The UTF16 test (the one that
> works) uses std::wstring, but the UTF32 test (the one that crashes) uses a
> custom string made with a 32-bit integer and corresponding traits class. If
> the UTF16 test is switched from using std::wstring to a similar custom
> string type then this also crashes.

Some wrong assumption that wchar_t is 32 bit, perphaps?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20150226/f44165d7/attachment.sig>


More information about the Cygwin-apps mailing list