Am 22.02.2013 21:08, schrieb Kevin Wolf: > One part of this patch reverts commit 22bc9a46, which disabled the > warning. The rest of it deals with the warning by adding a #pragma for > newer gcc and by disabling -Werror for compilers that can't deal with > the #pragma. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- >
Would you mind using a different solution which needs less changes and is more portable? It's possible to have -Wstrict-prototypes in configure and -Wno-strict-prototypes in ui/Makefile (only for ui/gtk.c). I have this in my tree and can send a patch. Regards, Stefan W.