diff --git a/configure b/configure index a17bc8445ef2fe9f5602285f15fbe02b0dc4d84c..dda6fab3ef633dc14ea056a0d8d6c2d8a029f1cb 100755 --- a/configure +++ b/configure @@ -1785,6 +1785,8 @@ check_cflags -Wpointer-arith check_cflags -Wredundant-decls check_cflags -Wno-pointer-sign check_cflags -Wcast-qual +check_cflags -Werror=declaration-after-statement +check_cflags -Werror=pointer-arith enabled extra_warnings && check_cflags -Winline # add some linker flags