This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: No effect of -fshort-enums..is it a bug
On Wed, Sep 21, 2005 at 10:54:56AM -0400, Robert Dewar wrote:
> Daniel Jacobowitz wrote:
> >
> >I'm not 100% sure what #3 means for enumerators whose value does not
> >fit in the range of "int", but it's pretty clear that the
> >implementation is not allowed to change the type of enumerators.
>
> Of course an implementation can do whatever it likes in response
> to switches, compiler dependent declarations etc.
Yes, but -fshort-enums is not intended to interfere with C99
compliance. And nowadays it doesn't.
--
Daniel Jacobowitz
CodeSourcery, LLC