mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
Set HP-UX compiler warning level back to the one that exposes
the socklen_t issue on this platform.
This commit is contained in:
parent
f7400212fc
commit
9bb1854398
@ -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
|
||||
;;
|
||||
#
|
||||
|
@ -5,7 +5,7 @@
|
||||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
@ -22,7 +22,7 @@
|
||||
#***************************************************************************
|
||||
|
||||
# File version for 'aclocal' use. Keep it a single number.
|
||||
# serial 46
|
||||
# serial 47
|
||||
|
||||
|
||||
dnl CURL_CHECK_COMPILER
|
||||
@ -914,11 +914,11 @@ AC_DEFUN([CURL_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…
x
Reference in New Issue
Block a user