This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16804] Function pointer assignment/initialization (missing warning)
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2004 18:23:39 -0000
- Subject: [Bug c/16804] Function pointer assignment/initialization (missing warning)
- References: <20040728171757.16804.terra@gnome.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-07-28 18:23 -------
Subject: Re: New: Function pointer assignment/initialization
(missing warning)
On Wed, 28 Jul 2004, terra at gnome dot org wrote:
> Note the "unsigned". Without that, I do get a warning.
GCC makes enums compatible with unsigned by default if they have no
negative values. I'm working on improving the documentation of
implementation-defined behavior, and the improved documentation mentions
this choice.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16804