diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-12 16:57:40 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-12 16:57:40 +0000 |
commit | ab861e56f17ab02293c77fc221cd53931e4b3d2c (patch) | |
tree | 7889e3c08bf702f86836d86bd8ddabe00bf22e57 | |
parent | 8eb64ad6008e674fc2559892c3858f7af9edcd75 (diff) |
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.
-rw-r--r-- | ares/m4/cares-compilers.m4 | 8 | ||||
-rw-r--r-- | m4/curl-compilers.m4 | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 9df5da46c..0a90d0790 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -819,10 +819,10 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ # if test "$want_warnings" = "yes"; then dnl Highest warning level is double -A, next is single -A. - dnl Due to the big number of warnings this triggers on third - dnl party header files it is impratical for us to use this - dnl warning level here. If you want them define it in CFLAGS. - tmp_CFLAGS="$tmp_CFLAGS -A" + dnl Due to the big number of warnings these trigger on third + dnl party header files it is impratical for us to use any of + dnl them here. If you want them simply define it in CPPFLAGS. + tmp_CFLAGS="$tmp_CFLAGS" fi ;; # diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 586585a4f..580be220b 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -825,10 +825,10 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ # if test "$want_warnings" = "yes"; then dnl Highest warning level is double -A, next is single -A. - dnl Due to the big number of warnings this triggers on third - dnl party header files it is impratical for us to use this - dnl warning level here. If you want them define it in CFLAGS. - tmp_CFLAGS="$tmp_CFLAGS -A" + dnl Due to the big number of warnings these trigger on third + dnl party header files it is impratical for us to use any of + dnl them here. If you want them simply define it in CPPFLAGS. + tmp_CFLAGS="$tmp_CFLAGS" fi ;; # |