path: root/src/network/socket/qnativesocketengine_unix.cpp
diff options
authorSami Nurmenniemi <>2017-03-07 16:45:49 +0200
committerSami Nurmenniemi <>2017-04-07 05:54:04 +0000
commitbbb67ca32cebad312f02e916dff54e591b92af24 (patch)
tree01fff48a0f0bf53098e2f87d6608705aaedf2ac3 /src/network/socket/qnativesocketengine_unix.cpp
parent5c6d1324084f506fdb992d48515894a64e8f4841 (diff)
Fix tst_Collections for gcc/arm
- Alignment test was not compiling or passing on GCC / arm - Using C++11 alignas() enforces maximum limit for the alignment, which at least on GCC / arm is __BIGGEST_ALIGNMENT__ multiplied by 8 - On GCC 6.2.0 / x86_84, maximum alignment accepted by alignas is 128 - On GCC 5.3.0 / arm, maximum alignment accepted by alignas is 64 - This change calculates biggest tested alignment on ARM targets and compilers supporting alignas() to the value calculated from __BIGGEST_ALIGNMENT__ Task-number: QTBUG-55492 Change-Id: If2b70000ff9cdc5ae8c5a00e39f79efcc6ba1221 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
0 files changed, 0 insertions, 0 deletions