Set HP-UX compiler warning level back to the one that exposes

the socklen_t issue on this platform.
pull/1/head
Yang Tse 16 years ago
parent 2a40e2da36
commit ed9f1219a5
  1. 6
      m4/cares-compilers.m4

@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 46
# serial 47
dnl CARES_CHECK_COMPILER
@ -908,11 +908,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
tmp_CFLAGS="$tmp_CFLAGS +w1"
dnl Due to the HP-UX socklen_t issue it is insane to use the +w1
dnl warning level. Until the issue is somehow fixed we will just
dnl use the +w2 warning level.
tmp_CFLAGS="$tmp_CFLAGS +w2"
dnl tmp_CFLAGS="$tmp_CFLAGS +w2"
fi
;;
#

Loading…
Cancel
Save