Commit ad70e552 authored by Niels Möller's avatar Niels Möller

(CFLAGS): Don't enable -Waggregate-return.

Rev: configure.ac:1.6
Rev: src/nettle/configure.ac:1.4
Rev: src/sftp/configure.ac:1.11
parent 9e90130c
......@@ -743,11 +743,12 @@ AC_CONFIG_SUBDIRS(src/sftp)
if test x$GCC = xyes ; then
CFLAGS="$CFLAGS -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Waggregate-return \
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
# Don't enable -Wcast-align as it results in tons of warnings in the
# DES code. And when using stdio.
# Don't enable -Waggregate-return, as that causes warnings for glibc
# inttypes.h.
fi
......
......@@ -110,12 +110,12 @@ LSH_RPATH_FIX
if test x$GCC = xyes ; then
CFLAGS="$CFLAGS -ggdb3 -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Waggregate-return \
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
# Don't enable -Wcast-align as it results in tons of warnings in the
# DES code. And when using stdio.
# Don't enable -Waggregate-return, as that causes warnings for glibc
# inttypes.h.
fi
AC_OUTPUT(Makefile testsuite/Makefile examples/Makefile)
......
......@@ -325,7 +325,6 @@ AC_CHECK_FUNCS([getcwd getwd strcoll strdup getenv fnmatch dup2])
if test x$GCC = xyes ; then
CFLAGS="$CFLAGS -ggdb3 -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Waggregate-return \
-Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align"
fi
......
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