question on GCC compiler and enum sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux