http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
Earnie <earnie at users dot sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |earnie at users dot | |sourceforge.net --- Comment #9 from Earnie <earnie at users dot sourceforge.net> 2012-11-12 20:15:07 UTC --- Looking at http://msdn.microsoft.com/en-us/library/dh8che7s(v=vs.71).aspx I see that wchar_t is "typically" defined as "unsigned short". MSVC provides a /Zc:wchar_t that causes wchar_t to become "a native type" that maps to _wchar_t. Currently the mingw.org wchar.h file includes the stddef.h file after defining __need_wchar_t. I need to walk through stddef.h to determine if we (mingw.org) needs to define some other macro based on the provided options. However, I'm feeling like this will be a coordinated effort between both parties. I don't know about Cygwin's versions of the headers, they should match more to what Linux defines.