This is the mail archive of the gcc-help@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]

question on GCC compiler and enum sizes


To whom it may concern:

The common software we write at GM Powertrain is not dependent on the
target processor.  Therefore, there is no machine specified in the GCC
compiler options.  However, the target compilers (not GCC) have options to
force an enum to be 16 bits (signed).  Is there a similar option for GCC?
We are using version 3.02.  The option "-fshort-enums" will not work as
this will force most enums to be 8 bits.

Regards,
Kevin Baltes
Software Build Tools Development Team



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