Drop -Waggregate-return
xcb cookie returns trigger this warning.
This commit is contained in:
parent
63103ae48c
commit
b26c72281f
|
@ -16,7 +16,7 @@ AC_DEFUN([EC_C_WARNINGS], [
|
||||||
enable_werror=no)
|
enable_werror=no)
|
||||||
|
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
CFLAGS_WARNINGS="-W -Wall -Waggregate-return -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings"
|
CFLAGS_WARNINGS="-W -Wall -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings"
|
||||||
dnl # ignore some warnings for now...
|
dnl # ignore some warnings for now...
|
||||||
CFLAGS_WARNINGS="$CFLAGS_WARNINGS -Wno-unused-parameter"
|
CFLAGS_WARNINGS="$CFLAGS_WARNINGS -Wno-unused-parameter"
|
||||||
ifelse(ec_c_compile_cpp, no, [
|
ifelse(ec_c_compile_cpp, no, [
|
||||||
|
|
Loading…
Reference in New Issue