configure.ac: disable annoying warning -Wmissing-field-initializers
It warns for all "{}" initializers. Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>main
parent
e342c0fc25
commit
5198f2b2e6
|
@ -174,7 +174,8 @@ MAYBE_WARN="-Wall -Wextra \
|
|||
-Wstrict-aliasing=2 -Winit-self \
|
||||
-Wdeclaration-after-statement -Wold-style-definition \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-attributes -Wno-long-long -Winline -Wshadow"
|
||||
-Wno-attributes -Wno-long-long -Winline -Wshadow \
|
||||
-Wno-missing-field-initializers"
|
||||
|
||||
# invalidate cached value if MAYBE_WARN has changed
|
||||
if test "x$libdrm_cv_warn_maybe" != "x$MAYBE_WARN"; then
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
#include "intel_chipset.h"
|
||||
#include "intel_bufmgr.h"
|
||||
|
||||
/* The compiler throws ~90 warnings. Do not spam the build, until we fix them. */
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
|
||||
/* Struct for tracking drm_intel_decode state. */
|
||||
struct drm_intel_decode {
|
||||
|
|
Loading…
Reference in New Issue