[Bug c/61469] language feature: Support for enum underlying type

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 11 10:40:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
But those other features (inline functions, const, bool) are specified by
standard.  What is the use case?  If you want to save space, there's
__attribute__ ((__packed__)) or -fshort-enums (use with caution).
We should be very careful with adding such extensions.



More information about the Gcc-bugs mailing list