diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-04-12 09:36:31 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-12 11:58:29 +0000 |
commit | bcd7b0fe55355d7d4de7d38a0c8a22e5c0e1e6aa (patch) | |
tree | 947d74e2bdadc15e8a520f2c9fb899848f35e708 /qt_cmdline.cmake | |
parent | d250e0070701e9c511ef5b1fb0d23995872ad844 (diff) |
QV4EngineBase: Do not create zero-sized array on 32 bit platforms
Zero-sized arrays are a non-standard extension, and do not work on MSVC.
We can instead conditionally add an explicit padding member on platforms
where POINTER_SIZE == 8.
Fixes: QTBUG-92562
Change-Id: I8462eb05e16c42045c0c95f026321c6e20e5c6bb
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
(cherry picked from commit 506463fe8ae0125f18d6236db9b7cd8b99885d08)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'qt_cmdline.cmake')
0 files changed, 0 insertions, 0 deletions