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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to