LCC compiler adjustments:

Highest warning level is double -A, next is single -A.
  Due to the big number of warnings these trigger on third
  party header files it is impratical for us to use any of
  them here. If you want them simply define it in CPPFLAGS.
This commit is contained in:
Yang Tse 2008-10-12 16:57:40 +00:00
parent 8eb64ad600
commit ab861e56f1
2 changed files with 8 additions and 8 deletions

View File

@ -819,10 +819,10 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
# #
if test "$want_warnings" = "yes"; then if test "$want_warnings" = "yes"; then
dnl Highest warning level is double -A, next is single -A. dnl Highest warning level is double -A, next is single -A.
dnl Due to the big number of warnings this triggers on third dnl Due to the big number of warnings these trigger on third
dnl party header files it is impratical for us to use this dnl party header files it is impratical for us to use any of
dnl warning level here. If you want them define it in CFLAGS. dnl them here. If you want them simply define it in CPPFLAGS.
tmp_CFLAGS="$tmp_CFLAGS -A" tmp_CFLAGS="$tmp_CFLAGS"
fi fi
;; ;;
# #

View File

@ -825,10 +825,10 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
# #
if test "$want_warnings" = "yes"; then if test "$want_warnings" = "yes"; then
dnl Highest warning level is double -A, next is single -A. dnl Highest warning level is double -A, next is single -A.
dnl Due to the big number of warnings this triggers on third dnl Due to the big number of warnings these trigger on third
dnl party header files it is impratical for us to use this dnl party header files it is impratical for us to use any of
dnl warning level here. If you want them define it in CFLAGS. dnl them here. If you want them simply define it in CPPFLAGS.
tmp_CFLAGS="$tmp_CFLAGS -A" tmp_CFLAGS="$tmp_CFLAGS"
fi fi
;; ;;
# #