Go to file
Thiago Macieira 1514b4e853 Silence GCC 8 warning on memcpy of class Value to to class offset
From GCC 8:

error: ‘void* memcpy(void*, const void*, size_t)’ copying an object of type ‘QJsonPrivate::offset’ {aka ‘class QSpecialInteger<QLittleEndianStorageType<unsigned int> >’} with ‘private’ member ‘QSpecialInteger<QLittleEndianStorageType<unsigned int> >::val’
from an array of ‘const value_type’ {aka ‘const class QJsonPrivate::Value’}; use assignment or copy-initialization instead [-Werror=class-memaccess]

Both types are standard layout and have the same initial sequence (one uint
member), so this is a valid copy. The only difference between the two is that
QSpecialInteger has a private member, whereas in the bitfield it's public.

Change-Id: I41d006aac5bc48529845fffd150e80585fd24db7
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-02-04 08:33:56 +00:00
bin don't include injected headers into linker version script 2016-10-14 09:00:29 +00:00
config.tests configure: inline D3D11_QUERY_DATA_TIMESTAMP_DISJOINT test 2018-01-18 13:48:34 +00:00
dist Add bearer plugin removal notice to changelog 2018-01-14 07:45:03 +00:00
doc Doc: Mention exact Qt version the third party attributions apply to 2018-01-19 06:30:06 +00:00
examples examples: Add localserver feature check for localfortune examples 2018-01-27 11:19:06 +00:00
lib
mkspecs Support for Q_OS_ANDROID_EMBEDDED and android-embedded build flags 2018-01-20 18:16:59 +00:00
qmake Document what the QT qmake variable does in more detail 2018-01-24 11:52:31 +00:00
src Silence GCC 8 warning on memcpy of class Value to to class offset 2018-02-04 08:33:56 +00:00
tests Clean-up in QDateTime's parsing of ISODate{,WithMs} 2018-02-01 15:57:23 +00:00
util Fix a bug in the generation of the Unicode joining property data 2017-12-13 19:14:49 +00:00
.gitattributes
.gitignore GitIgnore config.status.bat and config.tests/.qmake.stash 2017-06-13 05:58:30 +00:00
.qmake.conf Bump version 2017-12-13 10:53:55 +00:00
.tag
config_help.txt config_help.txt: document that some sanitize combinations are not valid 2018-01-17 18:09:41 +00:00
configure configure: dispose of which.test 2017-08-02 16:37:32 +00:00
configure.bat configure: Prefer cl.exe over clang-cl.exe 2018-01-04 21:22:42 +00:00
configure.json Disable -optimize-debug for Clang 2017-11-22 03:18:37 +00:00
configure.pri Android: Fix note for host architecture mismatch 2017-11-30 14:39:03 +00:00
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL-NOGPL2
header.LGPL-ONLY
INSTALL
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.GPLv3
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.LGPLv21
LICENSE.PREVIEW.COMMERCIAL
qtbase.pro nuke configure -host-option 2016-12-13 18:55:59 +00:00
sync.profile Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00