Re: No effect of -fshort-enums..is it a bug

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

 



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

[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