Commit 41f6c279 authored by Damien Fouilleul's avatar Damien Fouilleul

configure.ac: removed -Wold-style-definition from CFLAGS as this affects...

configure.ac: removed -Wold-style-definition from CFLAGS as this affects AC_TRY_COMPILE() and causes false results such as:

checking __attribute__ ((aligned ())) support... 0
checking __attribute__ ((format ())) support with function pointers... no

parent 8e4409e7
......@@ -955,7 +955,7 @@ if test "${ac_cv_c_ntohl_sys_param_h}" != "no"; then
fi
CFLAGS="${CFLAGS_save}"
RDC_PROG_CC_WFLAGS([all extra no-unused-parameter sign-compare undef pointer-arith bad-function-cast cast-align write-strings old-style-definition missing-prototypes volatile-register-var])
RDC_PROG_CC_WFLAGS([all extra no-unused-parameter sign-compare undef pointer-arith bad-function-cast cast-align write-strings missing-prototypes volatile-register-var])
RDC_PROG_CC_FLAGS_IFELSE([-pipe])
dnl This helps detect broken plugins with undefined symbols
......
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