http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45822
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-12-03 18:41:47 UTC --- Hmm, it seems that type "Enum' isn't automatical converted to 'int' anymore. Does it help to add to template class QFlags the following constructor 'inline QFlags(int f) : i((Enum)f) {}' ?