public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/61469] New: language feature: Support for enum underlying type
@ 2014-06-11  9:58 nick87720z at gmail dot com
  2014-06-11 10:04 ` [Bug c/61469] " redi at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: nick87720z at gmail dot com @ 2014-06-11  9:58 UTC (permalink / raw)
  To: gcc-bugs

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 ...


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-04-30 16:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-11  9:58 [Bug c/61469] New: language feature: Support for enum underlying type nick87720z at gmail dot com
2014-06-11 10:04 ` [Bug c/61469] " redi at gcc dot gnu.org
2014-06-11 10:13 ` nick87720z at gmail dot com
2014-06-11 10:25 ` redi at gcc dot gnu.org
2014-06-11 10:40 ` mpolacek at gcc dot gnu.org
2014-06-11 11:29 ` nick87720z at gmail dot com
2021-12-05 10:20 ` pinskia at gcc dot gnu.org
2022-05-17 10:28 ` egallager at gcc dot gnu.org
2022-05-17 17:53 ` joseph at codesourcery dot com
2022-10-27  0:57 ` jsm28 at gcc dot gnu.org
2022-10-28  0:38 ` cvs-commit at gcc dot gnu.org
2022-10-28  0:39 ` jsm28 at gcc dot gnu.org
2024-04-30 16:35 ` thomas.mercier.jr at gmail dot com
2024-04-30 16:39 ` pinskia at gcc dot gnu.org
2024-04-30 16:48 ` thomas.mercier.jr at gmail dot com
2024-04-30 16:52 ` pinskia at gcc dot gnu.org
2024-04-30 16:54 ` thomas.mercier.jr at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).