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

Thiago Macieira thiago.macieira at intel.com
Fri Mar 16 14:27:22 CET 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jsondbcollator_p.h.diff
Type: text/x-patch
Size: 323 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/releasing/attachments/20120316/b404167d/attachment.bin>
-------------- 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/releasing/attachments/20120316/b404167d/attachment.sig>


More information about the Releasing mailing list