On Fri, 2009-06-05 at 16:32 -0400, Carlos O'Donell wrote: > Je wrote: > > I use gcc4.2.2 and it complies the program as enum= 4bytes, but use > > codesourcery g++, enum size is only 1 byte. and complier seems doesn't > > recognize --enums_is_int > > The compiler will generate a enum size small enough to hold the value > of all enumerators. What is the actual problem? > > The option --enum_is_int is available only in RealView, and is not > recommended for general use. Have you tried: -fno-short-enums > > Cheers, > Carlos. -- sam clegg sam@xxxxxxxxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part