LCC compiler adjustments:
authorYang Tse <yangsita@gmail.com>
Sun, 12 Oct 2008 16:57:40 +0000 (16:57 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 12 Oct 2008 16:57:40 +0000 (16:57 +0000)
  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.

ares/m4/cares-compilers.m4
m4/curl-compilers.m4

index 9df5da4..0a90d07 100644 (file)
@@ -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
         ;;
         #
index 586585a..580be22 100644 (file)
@@ -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
         ;;
         #