------- Comment #3 from pinskia at gcc dot gnu dot org 2008-11-15 00:05 ------- t.c:8: warning: ISO C restricts enumerator values to range of 'int'
t.c:14: warning: left shift count >= width of type This is still correct. Even if we had sizeof(MyEnum) == 2, the types of dummy will still be an int. -- 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=36113