meson.build: suppress -Wmissing-field-initializers
There's nothing wrong with initializing only some fields.
This commit is contained in:
@@ -171,6 +171,8 @@ test_cxxflags = test_common_flags + [
|
||||
'-Wvolatile',
|
||||
'-Wvirtual-inheritance',
|
||||
|
||||
'-Wno-missing-field-initializers',
|
||||
|
||||
# a vtable without a dtor is just fine
|
||||
'-Wno-non-virtual-dtor',
|
||||
|
||||
|
@@ -7,8 +7,6 @@
|
||||
#pragma GCC diagnostic push
|
||||
/* oh no, libspa likes to cast away "const"! */
|
||||
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||
/* suppress more annoying warnings */
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
#include <pipewire/thread-loop.h>
|
||||
|
@@ -24,8 +24,6 @@
|
||||
#pragma GCC diagnostic push
|
||||
/* oh no, libspa likes to cast away "const"! */
|
||||
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||
/* suppress more annoying warnings */
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
#include <pipewire/pipewire.h>
|
||||
|
Reference in New Issue
Block a user