]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg: add message to _Static_assert in test-avx
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 4 Mar 2025 22:24:21 +0000 (22:24 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Mar 2025 10:30:00 +0000 (10:30 +0000)
commit0cee7cfc2495c2c7d108c38a9b07162af78553b1
tree0ca159c7b870d23cde2f17405b71ccecc56387d8
parent33629b82aeadb070a803e5887d3a5de59b1c95c9
tests/tcg: add message to _Static_assert in test-avx

In preparation for enabling clang and avoiding:

  error: '_Static_assert' with no message is a C2x extension [-Werror,-Wc2x-extensions]

let us just add the message to silence the warning.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-15-alex.bennee@linaro.org>
tests/tcg/i386/test-avx.c