On sábado, 7 de julho de 2012 11.17.58, Stephen Chu wrote: > /Qt/5.0/qtbase/include/QtCore/../../src/corelib/global/qflags.h:51:7: > note: 'QFlag' is not literal because it is not an aggregate and has no > constexpr constructors other than copy or move constructors > class QFlag > ^ > > Adding Q_DECL_CONSTEXPR to QFlag constructor fixes it: > > Q_DECL_CONSTEXPR inline QFlag(int i); > > I don't know if if is another Clang bug.
No, that looks like a real issue, Please submit the patch for the QFlag
constexpr constructor.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
