Hi Marcel, On Wed, Oct 09, 2013 at 09:11:04PM +0200, Marcel Holtmann wrote: > Hi Andrei, > > > These types of warnings are disabled in BlueZ makeifiles > > > > main.c:67:2: warning: missing initializer [-Wmissing-field-initializers] > > main.c:67:2: warning: (near initialization for 'options[1].short_name') > > [-Wmissing-field-initializers] > > --- > > android/Android.mk | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/android/Android.mk b/android/Android.mk > > index ec820ac..5498b41 100644 > > --- a/android/Android.mk > > +++ b/android/Android.mk > > @@ -23,6 +23,9 @@ LOCAL_C_INCLUDES := \ > > > > LOCAL_CFLAGS := -DVERSION=\"$(BLUEZ_VERSION)\" > > > > +# to suppress the "warning: missing initializer near initialization.." warning > > +LOCAL_CFLAGS += -Wno-missing-field-initializers > > + > > why are we doing this and not fixing the actual warning? > Do you want me to initialize structures like {NULL, NULL, NULL, ... } this way it can be fixed. Best regards Andrei Emeltchenko -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html