This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/47599] -fno-short-wchar does not force long wchar


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]