Reviewed-by: Ilia Mirkin <imirkin@xxxxxxxxxxxx> On Tue, Jan 12, 2016 at 4:14 PM, Marek Olšák <maraeo@xxxxxxxxx> wrote: > From: Marek Olšák <marek.olsak@xxxxxxx> > > It warns for all "{}" initializers. Well, I want us to use {}. > --- > configure.ac | 3 ++- > intel/intel_decode.c | 2 -- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/configure.ac b/configure.ac > index c8c4ace..057a846 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -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 > diff --git a/intel/intel_decode.c b/intel/intel_decode.c > index e7aef74..287c342 100644 > --- a/intel/intel_decode.c > +++ b/intel/intel_decode.c > @@ -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 { > -- > 2.1.4 > > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel