[Development] Using Qt 5 with C++11/Clang 3.1?

Thiago Macieira thiago.macieira at intel.com
Fri Jul 6 18:19:48 CEST 2012


On sexta-feira, 6 de julho de 2012 18.12.10, Olivier Goffart wrote:
> #if defined(Q_COMPILER_CONSTEXPR) && defined(Q_COMPILER_DEFAULT_MEMBERS) && 
> defined(Q_COMPILER_DELETE_MEMBERS)
> 
> fixes the problem for me.  
> So it should be disabled for those broken version of clang.

Looks like a compiler bug for me, or we forgot one Q_COMPILER macro. We might 
need to introduce Q_COMPILER_UNIFORM_INITIALIZATION.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120706/9b500dce/attachment.sig>


More information about the Development mailing list