summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qmacstyle_mac.mm
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2013-04-17 14:26:37 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-30 17:01:12 +0200
commit20d08a96c8240a9fda1a359d98be42f69ed9592e (patch)
tree31fb744074ed29c14c219b5913cfa33a2050851f /src/widgets/styles/qmacstyle_mac.mm
parentde3d449dcff4ee00fea72b3697055f5459fb13ec (diff)
Fix tst_qtendian autotest build for WEC7.
MSVC2008 compiler fo ARM targets fail to compile qToUnaligned when using sizeof(T) inside memcpy fynction. The compiler fails at least when the code is reached through the following macros and templates: -> tst_QtEndian::toLittleEndian -> qToLittleEndian(T src, uchar *dest) -> qToUnaligned(const T src, uchar *dest) The above sequence produces internal compiler error with MSVC2008/ARM builds when called from tst_endian. As a workaround sizeof(T) is called outside memcpy function. Change-Id: Ib4d382c2cebecb6e54bb99fc8fad72db93825fcd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/widgets/styles/qmacstyle_mac.mm')
0 files changed, 0 insertions, 0 deletions