Commit c3dcd2e2 authored by Niels Möller's avatar Niels Möller
Browse files

Disable gcc pointer signedness warning.

parent 5a87424c
2021-01-27 Niels Möller <nisse@lysator.liu.se> 2021-01-27 Niels Möller <nisse@lysator.liu.se>
* configure.ac (CFLAGS): Disable gcc pointer signedness warnings.
* src/atoms.c (gperf_atom): Change length type to size_t, for * src/atoms.c (gperf_atom): Change length type to size_t, for
compatibility with current gperf. compatibility with current gperf.
......
2021-01-27 Niels Möller <nisse@lysator.liu.se>
* configure.ac (CFLAGS): Disable gcc pointer signedness warnings.
2016-04-18 Niels Möller <nisse@lysator.liu.se> 2016-04-18 Niels Möller <nisse@lysator.liu.se>
* argp-fmtstream.h (ARGP_FS_EI): Use __attribute__ * argp-fmtstream.h (ARGP_FS_EI): Use __attribute__
......
...@@ -105,7 +105,7 @@ if test x$GCC = xyes ; then ...@@ -105,7 +105,7 @@ if test x$GCC = xyes ; then
if $CC --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then if $CC --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
CFLAGS="$CFLAGS -Wno-pointer-sign" CFLAGS="$CFLAGS -Wno-pointer-sign"
fi fi
CFLAGS="$CFLAGS -Wall -W \ CFLAGS="$CFLAGS -Wall -W -Wno-pointer-sign \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Waggregate-return \ -Waggregate-return \
-Wpointer-arith -Wbad-function-cast -Wnested-externs" -Wpointer-arith -Wbad-function-cast -Wnested-externs"
......
...@@ -1172,7 +1172,7 @@ if test x$GCC = xyes ; then ...@@ -1172,7 +1172,7 @@ if test x$GCC = xyes ; then
if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
CFLAGS="$CFLAGS -Wno-pointer-sign" CFLAGS="$CFLAGS -Wno-pointer-sign"
fi fi
CFLAGS="$CFLAGS -Wall -W \ CFLAGS="$CFLAGS -Wall -W -Wno-pointer-sign \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wpointer-arith -Wbad-function-cast -Wnested-externs" -Wpointer-arith -Wbad-function-cast -Wnested-externs"
......
2021-01-27 Niels Möller <nisse@lysator.liu.se>
* configure.ac (CFLAGS): Disable gcc pointer signedness warnings.
2013-06-16 Niels Möller <nisse@lysator.liu.se> 2013-06-16 Niels Möller <nisse@lysator.liu.se>
From lsh-2.0.4 branch: From lsh-2.0.4 branch:
......
...@@ -324,7 +324,7 @@ if test x$GCC = xyes ; then ...@@ -324,7 +324,7 @@ if test x$GCC = xyes ; then
if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
CFLAGS="$CFLAGS -Wno-pointer-sign" CFLAGS="$CFLAGS -Wno-pointer-sign"
fi fi
CFLAGS="$CFLAGS -Wall -W \ CFLAGS="$CFLAGS -Wall -W -Wno-pointer-sign \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align" -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align"
fi fi
......
2021-01-27 Niels Möller <nisse@lysator.liu.se> 2021-01-27 Niels Möller <nisse@lysator.liu.se>
* configure.ac (CFLAGS): Disable gcc pointer signedness warnings.
* parse.c (spki_gperf): Change length type to size_t, for * parse.c (spki_gperf): Change length type to size_t, for
compatibility with current gperf. compatibility with current gperf.
......
...@@ -91,7 +91,7 @@ if test x$GCC = xyes ; then ...@@ -91,7 +91,7 @@ if test x$GCC = xyes ; then
if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
CFLAGS="$CFLAGS -Wno-pointer-sign" CFLAGS="$CFLAGS -Wno-pointer-sign"
fi fi
CFLAGS="$CFLAGS -Wall -W \ CFLAGS="$CFLAGS -Wall -W -Wno-pointer-sign \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wpointer-arith -Wbad-function-cast -Wnested-externs" -Wpointer-arith -Wbad-function-cast -Wnested-externs"
fi 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