--- Comment #2 from chris dot pickett at mail dot mcgill dot ca 2006-11-09
04:46 ---
I got confused. It's only the enum constant that must be int. Indeed, if the
comparison is `if (FOO >= 0)', no warning is issued and all is well.
Thanks for the extremely fast response!
--
http:
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-09 04:37 ---
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations-and-bit_002dfields-implementation.html
You are incorrect in saying enum are compatiable with int by default and
incorrect in saying the C st