[Bug c/61469] New: language feature: Support for enum underlying type
nick87720z at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 11 09:58:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469
Bug ID: 61469
Summary: language feature: Support for enum underlying type
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: nick87720z at gmail dot com
Just like some other features (inline functions, const, bool), ability to
specify data type for enumeration should be useful, since enumeration is just a
restriction for possible values.
Unlike C++, where type is specified as "enum class type ...", i propose
following forms:
- enum(type) ...
- type enum ...
More information about the Gcc-bugs
mailing list