http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40685
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.7.0
Known to fail| |4.5.2, 4.6.1
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-18
15:31:23 UTC ---
4.6 incorrectly gives an error:
e.cc:25:9: error: converting to 'A' from initializer list would use explicit
constructor 'A::A(Enum)'
and 4.7 compiles it correctly, so I think this is now fixed