mirror of https://github.com/moparisthebest/curl
LCC compiler adjustments:
Warning level reduced from double -A to single -A
This commit is contained in:
parent
a754ea1326
commit
430b1a22db
|
@ -16,7 +16,7 @@
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 21
|
# serial 22
|
||||||
|
|
||||||
|
|
||||||
dnl CARES_CHECK_COMPILER
|
dnl CARES_CHECK_COMPILER
|
||||||
|
@ -784,8 +784,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
|
||||||
LCC)
|
LCC)
|
||||||
#
|
#
|
||||||
if test "$want_warnings" = "yes"; then
|
if test "$want_warnings" = "yes"; then
|
||||||
dnl Highest warning level is double -A
|
dnl Highest warning level is double -A, next is single -A.
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -A -A"
|
dnl Due to the big number of warnings this triggers on third
|
||||||
|
dnl party header files it is impratical for to activate this
|
||||||
|
dnl warning level here. If you want them define it in CFLAGS.
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -A"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 20
|
# serial 21
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_CHECK_COMPILER
|
dnl CURL_CHECK_COMPILER
|
||||||
|
@ -790,8 +790,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
||||||
LCC)
|
LCC)
|
||||||
#
|
#
|
||||||
if test "$want_warnings" = "yes"; then
|
if test "$want_warnings" = "yes"; then
|
||||||
dnl Highest warning level is double -A
|
dnl Highest warning level is double -A, next is single -A.
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -A -A"
|
dnl Due to the big number of warnings this triggers on third
|
||||||
|
dnl party header files it is impratical for to activate this
|
||||||
|
dnl warning level here. If you want them define it in CFLAGS.
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -A"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue