[Development] Error "invokes deleted constructor" while building Qt5 with clang and libc++

Thiago Macieira thiago.macieira at intel.com
Mon Dec 3 08:02:15 CET 2012


On segunda-feira, 3 de dezembro de 2012 07.53.07, Olivier Goffart wrote:
> I was able to reproduce the error by making QMetaTypeIdQObject a template.
> (On linux with both clang 3.1 and clang trunk)
> Attached the problematic testase.
> 
> I am not sure yet if this is a compiler bug or if we are indeed doing a
> copy.

Does it at least compile as:

        static QBasicAtomicInteger metatype_id { 0 };

(i.e., without the =)
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/20121202/92f75d38/attachment.sig>


More information about the Development mailing list