When building with g++-16, the build fails with the following error:
server/tests/test-display-base.cpp:809:5: error: either all initializer
clauses should be designated or none of them should be
This is because g++-16 defaults to c++20 and when using designated
initializers with c++20, you don't wrap anonymous union fields with braces.
Nicholas Vinson (2):
m4/spice-compile-warnings.m4: disable -Wmissing-braces
test-display-base.cpp: adjust designated init.
m4/spice-compile-warnings.m4 | 1 +
server/tests/test-display-base.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--
2.52.0