Keith Marshall
keith****@users*****
Thu Jun 28 02:21:21 JST 2018
On 27/06/18 16:37, Keith Marshall wrote: > On 27/06/18 01:06, David Gressett wrote: >> #ifndef _MINGW32_H >> #define _MINGW32_H >> >> #include <_mingw.h> >> >> #ifndef RTX >> #define GNAT_UNICODE_SUPPORT >> #define _UNICODE /* For C runtime */ >> #define UNICODE /* For Win32 API */ >> #endif > > This is wrong, and appears to be the cause of your issue. FWIW, this issue was already present in gcc-6.3.0, (or even earlier). My build tree for the gcc-6.3.0-mingw32 MinGW.org distribution includes the attached 09-ada-unicode-misuse.patch, to circumvent it. -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -------------- next part -------------- A non-text attachment was scrubbed... Name: 09-ada-unicode-misuse.patch Type: text/x-patch Size: 2833 bytes Desc: not available Url : https://lists.osdn.me/mailman/archives/mingw-users/attachments/20180627/a366c1f1/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature Url : https://lists.osdn.me/mailman/archives/mingw-users/attachments/20180627/a366c1f1/attachment.pgp