[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings |
Date: |
Mon, 26 Oct 2020 22:08:37 +0000 |
On Mon, 26 Oct 2020 at 15:13, Paolo Bonzini <pbonzini@redhat.com> wrote:
> This one seems okay because the union constrains the size to 4K. If
> "[0]" is enough to shut up the compiler, I'd say do that.
Do you mean converting a C flexible array member (declared as
"foo[]") into a gcc zero-length array (declared as "foo[0]") ?
That seems like it would be going backwards from the direction
we started in with commits f7795e4096d8bd1c and 880a7817c1a82
of preferring flexible arrays to the GNU extension, so it's
maybe not ideal, but I guess it's expedient.
thanks
-- PMM
- [PATCH v2 0/6] Add support for Control-Flow Integrity, Daniele Buono, 2020/10/23
- [PATCH v2 1/6] fuzz: Make fork_fuzz.ld compatible with LLVM's LLD, Daniele Buono, 2020/10/23
- [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Daniele Buono, 2020/10/23
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Thomas Huth, 2020/10/24
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Paolo Bonzini, 2020/10/26
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Daniele Buono, 2020/10/26
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Paolo Bonzini, 2020/10/26
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Daniele Buono, 2020/10/26
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings,
Peter Maydell <=
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Thomas Huth, 2020/10/27
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Cornelia Huck, 2020/10/27
- Re: [PATCH v2 2/6] configure: avoid new clang 11+ warnings, Daniele Buono, 2020/10/27
[PATCH v2 3/6] configure: add option to enable LTO, Daniele Buono, 2020/10/23
- Re: [PATCH v2 3/6] configure: add option to enable LTO, Paolo Bonzini, 2020/10/26
- Re: [PATCH v2 3/6] configure: add option to enable LTO, Daniel P . Berrangé, 2020/10/26
- Re: [PATCH v2 3/6] configure: add option to enable LTO, Daniele Buono, 2020/10/27
- Re: [PATCH v2 3/6] configure: add option to enable LTO, Daniel P . Berrangé, 2020/10/27
- Re: [PATCH v2 3/6] configure: add option to enable LTO, Daniele Buono, 2020/10/27
- Re: [PATCH v2 3/6] configure: add option to enable LTO, Paolo Bonzini, 2020/10/28