This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47599] -fno-short-wchar does not force long wchar
- From: "roucaries.bastien+bugs at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Feb 2011 08:27:48 +0000
- Subject: [Bug c/47599] -fno-short-wchar does not force long wchar
- Auto-submitted: auto-generated
- References: <bug-47599-4@http.gcc.gnu.org/bugzilla/>
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