summaryrefslogtreecommitdiffstats
path: root/src/testlib/doc/snippets/code/code.pro
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2023-07-13 16:47:23 +0200
committerIvan Solovev <ivan.solovev@qt.io>2023-07-17 18:49:16 +0200
commit0b3c5816c6d6be52918aa51178f03bd760449eb9 (patch)
tree39f4eca8617d6ab8d533c5a1d1bae9dec3b86d4c /src/testlib/doc/snippets/code/code.pro
parent0393fa6bf244c1135a9ed20cba8649687da45b9b (diff)
Explicitly specify the alignment of QUuid::Id128Bytes union
... because otherwise the union can change its alignment based on the presence of the data128 member. For example, QtBluetooth explicitly #undef's __SIZEOF_INT128__ in its removed_api.cpp, which leads to UB without this patch. Found during API review Pick-to: 6.6 Change-Id: Ia17122cc9f3d422530cf722ea528591fce7ab7ff Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/testlib/doc/snippets/code/code.pro')
0 files changed, 0 insertions, 0 deletions