http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
Summary: -fno-short-wchar does not force long wchar Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: roucaries.bastien+b...@gmail.com if WCHAR_TYPE is "short int" (cygwin) the following program produce always short wchar. Please treat this option like -fno-short-enum #include <wchar.h> int x = sizeof (wchar_t); $ gcc -S -o - foo.c $ gcc -fshort-wchar -S -o - foo.c $ gcc -fno-short-wchar -S -o - foo.c