Commit 2b268628 authored by Petri Hintukainen's avatar Petri Hintukainen

Fix compiler flag test for -Wpointer-arith and -Wredundant-decls

parent f3fb4dc0
...@@ -73,7 +73,7 @@ AS_IF([test "${SYS}" != "mingw32"], [ ...@@ -73,7 +73,7 @@ AS_IF([test "${SYS}" != "mingw32"], [
dnl compiler warnings dnl compiler warnings
CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare -Wextra]) CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare -Wextra])
CC_CHECK_CFLAGS_APPEND([-std=c99 -pedantic]) CC_CHECK_CFLAGS_APPEND([-std=c99 -pedantic])
CC_CHECK_CFLAGS_APPEND([-Wdisabled-optimization -Wpointer-arith]dnl CC_CHECK_CFLAGS_APPEND([-Wdisabled-optimization -Wpointer-arith ]dnl
[-Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef ]dnl [-Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef ]dnl
[-Wmissing-prototypes -Wshadow]) [-Wmissing-prototypes -Wshadow])
CC_CHECK_CFLAGS_APPEND([-Werror=implicit-function-declaration ]dnl CC_CHECK_CFLAGS_APPEND([-Werror=implicit-function-declaration ]dnl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment