public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "volodya at netfolder dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/51242] New: Unable to use strongly typed enums as bit fields Date: Sun, 20 Nov 2011 19:55:00 -0000 [thread overview] Message-ID: <bug-51242-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242 Bug #: 51242 Summary: Unable to use strongly typed enums as bit fields Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: volodya@netfolder.ru In case of use strongly typed enumS as bit fields of structS in C++0x mode, compiler says "bit-field 'smth' with non-integral type". Though, the standard says "A bit-field shall have integral or enumeration type (3.9.1)."
next reply other threads:[~2011-11-20 18:41 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-11-20 19:55 volodya at netfolder dot ru [this message] 2011-11-20 20:30 ` [Bug c++/51242] [C++11] " redi at gcc dot gnu.org 2012-11-18 18:05 ` redi at gcc dot gnu.org 2012-11-19 5:47 ` volodya at netfolder dot ru 2012-11-19 7:26 ` daniel.kruegler at googlemail dot com 2012-11-19 7:56 ` volodya at netfolder dot ru 2012-11-19 11:47 ` redi at gcc dot gnu.org 2012-11-19 11:52 ` redi at gcc dot gnu.org 2012-11-19 16:31 ` volodya at netfolder dot ru 2012-11-26 11:26 ` paolo.carlini at oracle dot com 2012-11-26 11:32 ` paolo.carlini at oracle dot com 2012-11-26 11:37 ` paolo.carlini at oracle dot com 2012-11-26 11:47 ` redi at gcc dot gnu.org 2012-11-26 11:51 ` redi at gcc dot gnu.org 2012-11-26 12:00 ` paolo.carlini at oracle dot com 2012-11-26 12:05 ` paolo.carlini at oracle dot com 2012-11-26 12:12 ` paolo.carlini at oracle dot com 2012-11-26 12:23 ` paolo.carlini at oracle dot com 2012-11-26 12:43 ` redi at gcc dot gnu.org 2012-11-26 12:50 ` paolo.carlini at oracle dot com 2012-11-26 12:56 ` redi at gcc dot gnu.org 2012-11-26 13:00 ` paolo.carlini at oracle dot com 2012-11-26 13:28 ` paolo.carlini at oracle dot com 2012-11-26 13:39 ` paolo.carlini at oracle dot com 2012-11-26 14:00 ` paolo.carlini at oracle dot com 2012-11-26 14:40 ` redi at gcc dot gnu.org 2013-02-16 1:07 ` paolo at gcc dot gnu.org 2013-02-27 10:33 ` paolo.carlini at oracle dot com 2020-11-08 18:06 ` barry.revzin at gmail dot com 2020-11-09 10:01 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-51242-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).