+ * [Bug 1169] quiet compiler warnings
+ * Re-enable gcc -Wstrict-prototypes when not building with OpenSSL
+ * Enable gcc -Wstrict-overflow
+ * ntpq/ntpdc emit newline after accepting password on Windows
+* m4/ntp_lineeditlibs.m4: fix warnings from newer Autoconf
+* Remove truncation of position (blanking) code in refclock_nmea.c
(4.2.5p167) 2009/04/26 Released by Harlan Stenn <stenn@ntp.org>
* Crypto cleanup from Dave Mills.
(4.2.5p166) 2009/04/25 Released by Harlan Stenn <stenn@ntp.org>
CFLAGS="$CFLAGS -Wmissing-prototypes"
CFLAGS="$CFLAGS -Wpointer-arith"
CFLAGS="$CFLAGS -Wshadow"
- #
- # OpenSSL has a number of callback prototypes
- # inside other function prototypes which trigger
- # warnings with -Wstrict-prototypes, such as:
- #
- # int i2d_RSA_NET(const RSA *a, unsigned char **pp,
- # int (*cb)(), int sgckey);
- # ^^^^^^^^^^^
- #
- CFLAGS="$CFLAGS -Wno-strict-prototypes"
# CFLAGS="$CFLAGS -Wtraditional"
# CFLAGS="$CFLAGS -Wwrite-strings"
- CFLAGS="$CFLAGS -Winit-self"
+ case "$ac_cv_gcc_Winit_self" in
+ yes)
+ CFLAGS="$CFLAGS -Winit-self"
+ esac
case "$ac_cv_gcc_Wstrict_overflow" in
yes)
- #not yet: CFLAGS="$CFLAGS -Wstrict-overflow"
+ CFLAGS="$CFLAGS -Wstrict-overflow"
esac
- ;;
+ # if building with OpenSSL, -Wno-strict-prototypes is added later
esac
case "$host" in