diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index 72e9db27112f261cf42c007f7e445fb1a76608d7..0609abf245ac8ecbd9c893f7d076d205df05a22c 100644
--- a/ares/m4/cares-compilers.m4
+++ b/ares/m4/cares-compilers.m4
@@ -16,7 +16,7 @@
 #***************************************************************************
 
 # File version for 'aclocal' use. Keep it a single number.
-# serial 21
+# serial 22
 
 
 dnl CARES_CHECK_COMPILER
@@ -784,8 +784,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
       LCC)
         #
         if test "$want_warnings" = "yes"; then
-          dnl Highest warning level is double -A
-          tmp_CFLAGS="$tmp_CFLAGS -A -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 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
         ;;
         #
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index 06e5b5280087370e67423c04f37d87bb1e0c315d..42142f013d92bba0b55c00ea9ce373a0edcdf444 100644
--- a/m4/curl-compilers.m4
+++ b/m4/curl-compilers.m4
@@ -22,7 +22,7 @@
 #***************************************************************************
 
 # File version for 'aclocal' use. Keep it a single number.
-# serial 20
+# serial 21
 
 
 dnl CURL_CHECK_COMPILER
@@ -790,8 +790,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
       LCC)
         #
         if test "$want_warnings" = "yes"; then
-          dnl Highest warning level is double -A
-          tmp_CFLAGS="$tmp_CFLAGS -A -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 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
         ;;
         #