------- 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://gcc.gnu.org/bugzilla/show_bug.cgi?id=29774