[Bug c/47599] -fno-short-wchar does not force long wchar
roucaries.bastien+bugs at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 4 08:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #3 from Bastien ROUCARIES <roucaries.bastien+bugs at gmail dot com> 2011-02-04 08:27:40 UTC ---
BTW i have checked the source code, and if my memory is correct wchar_t is
defined as
MODIFIED_WCHAR_T = fshortwchar ? "Short int" : WCHAR_T
Where wchar_t is defined by the architecture config.
The problem is under arch where WCHAR_T is "short int" this flag have no
effect. This flag should behave as short-enum where arch specify a default that
could be overwritten
Bastien
More information about the Gcc-bugs
mailing list