[Bug c/16804] Function pointer assignment/initialization (missing warning)
jsm at polyomino dot org dot uk
gcc-bugzilla@gcc.gnu.org
Wed Jul 28 18:23:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list