This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16804] Function pointer assignment/initialization (missing warning)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]