[Releasing] Qt 5 alpha 20120314: linux g++ C++11: qtjsondb FAILURE

lars.knoll at nokia.com lars.knoll at nokia.com
Sat Mar 17 20:48:10 CET 2012


http://codereview.qt-project.org/20381

Cheers,
Lars

On 3/16/12 2:27 PM, "ext Thiago Macieira" <thiago.macieira at intel.com>
wrote:

>Errors:
>
>src/common/jsondbcollator.cpp:103:21: error: use of deleted function
>ŒQtAddOn::JsonDb::JsonDbCollatorPrivate&
>QtAddOn::JsonDb::JsonDbCollatorPrivate::operator=(const
>QtAddOn::JsonDb::JsonDbCollatorPrivate&)¹
>src/common/jsondbcollator_p.h:57:7: error:
>ŒQtAddOn::JsonDb::JsonDbCollatorPrivate&
>QtAddOn::JsonDb::JsonDbCollatorPrivate::operator=(const
>QtAddOn::JsonDb::JsonDbCollatorPrivate&)¹ is implicitly deleted because
>the 
>default definition would be ill-formed:
>src/common/jsondbcollator_p.h:57:7: error: use of deleted function
>ŒQBasicAtomicInteger<T>& QBasicAtomicInteger<T>::operator=(const
>QBasicAtomicInteger<T>&) [with T = int, QBasicAtomicInteger<T> =
>QBasicAtomicInteger<int>]¹
>../../../../qt-5-alpha-install/include/QtCore/qbasicatomic.h:188:26:
>error: 
>declared here
>
>QBasicAtomicInt does not have and cannot have operator=. The attached
>patch 
>fixes the problem by using QAtomicInt. With this patch, qtjsondb compiles
>and 
>installs.
>
>-- 
>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
>_______________________________________________
>Releasing mailing list
>Releasing at qt-project.org
>http://lists.qt-project.org/mailman/listinfo/releasing




More information about the Releasing mailing list