autotools: updated warning flags

Suppressing known warnings must also be done at the "min" level. For a
recent gcc, -Wno-unused-but-set-variable is needed.
This commit is contained in:
Patrick Ohly 2011-09-13 07:08:46 +00:00
parent 61ed809c3c
commit a47cbc56cf

View file

@ -66,8 +66,8 @@ AC_PROG_MAKE_SET
# currently uses the "#pragma }" trick. Should remove that.
# Fix code to work without deprecated methods: G GDK GDK_PIXBUF CAIRO PANGO GTK
DK_ARG_ENABLE_WARNINGS([SYNCEVO_WFLAGS],
[-Wall],
[-Wall -Wno-unknown-pragmas],
[-Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable],
[-Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable],
[])
dnl default device type (see AC_DEFINE below)