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

Olivier Goffart olivier at woboq.com
Mon Dec 3 07:53:07 CET 2012


On Monday 03 December 2012 00:41:38 Francisco Lopes da Silva wrote:
> I'm trying to build Qt5 on my environment but I'm stumbling at an error I'm
> having a hardtime dealing with.
> I use OS X Mountain Lion, but I don't use the default Xcode environment, I
> compile both clang and libc++
> from sources.

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.

-- 
Olivier

Woboq - Qt services and support - http://woboq.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cc
Type: text/x-c++src
Size: 383 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121203/e03bd48d/attachment.cc>


More information about the Development mailing list