public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/36113] fix C enumerators Date: Sat, 15 Nov 2008 00:06:00 -0000 [thread overview] Message-ID: <20081115000523.25406.qmail@sourceware.org> (raw) In-Reply-To: <bug-36113-1447@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from pinskia at gcc dot gnu dot org 2008-11-15 00:05 ------- t.c:8: warning: ISO C restricts enumerator values to range of 'int' t.c:14: warning: left shift count >= width of type This is still correct. Even if we had sizeof(MyEnum) == 2, the types of dummy will still be an int. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36113
next prev parent reply other threads:[~2008-11-15 0:06 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-05-02 20:14 [Bug c/36113] New: " mrs at apple dot com 2008-05-02 20:17 ` [Bug c/36113] " mrs at apple dot com 2008-05-02 20:17 ` mrs at apple dot com 2008-05-05 6:19 ` pinskia at gcc dot gnu dot org 2008-11-15 0:06 ` pinskia at gcc dot gnu dot org [this message] 2008-11-15 0:13 ` pinskia at gcc dot gnu dot org 2008-11-18 20:27 ` mrs at apple dot com [not found] <bug-36113-4@http.gcc.gnu.org/bugzilla/> 2021-09-17 7:02 ` pinskia at gcc dot gnu.org 2022-10-18 14:08 ` cvs-commit at gcc dot gnu.org 2022-10-18 14:13 ` jsm28 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=20081115000523.25406.qmail@sourceware.org \ --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).