[Development] Qt 4.8 clang and libc++

Thiago Macieira thiago.macieira at intel.com
Thu Sep 6 12:50:57 CEST 2012


On quinta-feira, 6 de setembro de 2012 12.40.36, Sylvain Pointeau wrote:
> move works well, why do we have this error?
> is it related to the param type?

/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WebCore/platform/Timer.cpp:27:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WebCore/config.h:30:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WTF/wtf/Platform.h:1165:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtbase/include/QtCore/qglobal.h:1:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:77:
/usr/bin/../lib/c++/v1/algorithm:4461:28: error: no matching function for
call
      to 'move'
            value_type __t(_VSTD::move(*__pp));

This is an error triggered by including the header.

Obviously, since qglobal.h has been used a thousand times by the time you get 
to this error, there's something *different* about Timer.cpp.

Take a look at the preprocessed output of that compilation and figure out what 
the compiler is trying to tell you.

-- 
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/20120906/128292ba/attachment.sig>


More information about the Development mailing list