summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-05-01 21:46:25 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-02 13:05:45 -0700
commitc4075353854ed320cf9225ebd5605836ae236640 (patch)
treeea8c36b24a2463954985d8cd9b42bbb0cac5646a /scripts/qapi/types.py
parentbef317d0c36d66cb44d14a0838d5abe7b26b0344 (diff)
downloadfocaccia-qemu-c4075353854ed320cf9225ebd5605836ae236640.tar.gz
focaccia-qemu-c4075353854ed320cf9225ebd5605836ae236640.zip
qemu/int128: Re-shuffle Int128Alias members
Clang 14, with --enable-tcg-interpreter errors with

include/qemu/int128.h:487:16: error: alignment of field 'i' (128 bits)
  does not match the alignment of the first field in transparent union;
  transparent_union attribute ignored [-Werror,-Wignored-attributes]
    __int128_t i;
               ^
include/qemu/int128.h:486:12: note: alignment of first field is 64 bits
    Int128 s;
           ^
1 error generated.

By placing the __uint128_t member first, this is avoided.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230501204625.277361-1-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions