This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add -fno-short-enums to Symbian OS configuration
Richard Earnshaw wrote:
On Fri, 2004-08-06 at 08:58, Mark Mitchell wrote:
ARM Symbian OS has 4-byte enumeration types, by default. (The ARM
AAPCS allows either short enumeration types, or 4-byte types. Our
expectation is that most AAPCS targets will choose short enumeration
types, but, for backwards compatibility, Symbian OS chooses 2-byte
types.)
You seem to have tried to change horses mid stream here -- well,
switched topic mid sentence.
Yes, what I wrote makes no sense.
I think you are trying to say:
SymbianOS uses -fno-short-enums
*and*
SymbianOS uses -fshort-wchar
Actually, Symbian OS uses the moral equivalent of -fno-short-enums and
-fno-short-wchar. (Both enumeration types and wchar_t are 4-byte
types.) That's what I implemented, and it's what I meant to be saying. :-)
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com