qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/3] win32: remove usage of attribute gcc_struct


From: Thomas Huth
Subject: Re: [PATCH v2 1/3] win32: remove usage of attribute gcc_struct
Date: Wed, 27 Nov 2024 07:34:40 +0100
User-agent: Mozilla Thunderbird

On 26/11/2024 22.17, Pierrick Bouvier wrote:
This attribute is not recognized by clang.

An investigation has been performed to ensure this attribute has no
effect on layout of structures we use in QEMU [1], so it's safe to
remove now.

In the future, we'll forbid introducing new bitfields in packed struct.

[1] 
66c346de-7e20-4831-b3eb-1cda83240af9@linaro.org/">https://lore.kernel.org/qemu-devel/66c346de-7e20-4831-b3eb-1cda83240af9@linaro.org/

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
  meson.build                               | 5 -----
  include/qemu/compiler.h                   | 7 +------
  scripts/cocci-macro-file.h                | 6 +-----
  subprojects/libvhost-user/libvhost-user.h | 6 +-----
  4 files changed, 3 insertions(+), 21 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]