public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/58299] New: Ada defines UNICODE and _UNICODE too late for __MINGW32__
@ 2013-09-02 14:51 earnie at users dot sourceforge.net
0 siblings, 0 replies; only message in thread
From: earnie at users dot sourceforge.net @ 2013-09-02 14:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58299
Bug ID: 58299
Summary: Ada defines UNICODE and _UNICODE too late for
__MINGW32__
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: earnie at users dot sourceforge.net
Created attachment 30741
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30741&action=edit
Ada patch for MinGW 4.0
When building gcc-4.8.1 for MinGW 4.0 release I discovered that the private
_mingw.h file was included and that UNICODE and _UNICODE were defined after
headers had already been included. This caused a result of UNICODE declared
data being passed to ANSI version functions. The fix was to simply move the
inclusion of the "mingw32.h" file in the source of ada/initialize.c and to
remove the inclusion of the private ada/_mingw.h file in mingw32.h. The patch
I used is attached.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-02 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-02 14:51 [Bug ada/58299] New: Ada defines UNICODE and _UNICODE too late for __MINGW32__ earnie at users dot sourceforge.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).