------- Comment #7 from jason at gcc dot gnu dot org 2008-11-14 16:11 ------- The initialization of arr is ill-formed in C++0x because of narrowing from int to char.
The initialization of s is well-formed; that bug has been fixed for 4.4. The initialization of t is ill-formed in C++98 because of conversion from int to enum; that bug has been fixed for 4.2, 4.3 and 4.4. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37932