------- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-01 20:40 -------
Actually I think they are compatible.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6024#c3 explains why they are.
The reason why they are compatible is explicitly explained in 6.7.2.2#4 (which
specifies that enumerated types are compatible with char or a signed or
unsigned integer type).
Since enum E is compatible with unsigned int, the function pointer is
compatible as the functions arguments are compatible.
--
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=40325