summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-11 16:19:35 +0000
committerYang Tse <yangsita@gmail.com>2008-10-11 16:19:35 +0000
commit07a115ec629700da20b60f4e83b6a2ea98f3948f (patch)
treebb1e8c37995011df9c7cc2011f6a3c6dcb813161 /m4
parent71a63b20baea31e30818ba4add161284c878ebcc (diff)
downloadc-ares-07a115ec629700da20b60f4e83b6a2ea98f3948f.tar.gz
c-ares-07a115ec629700da20b60f4e83b6a2ea98f3948f.tar.bz2
c-ares-07a115ec629700da20b60f4e83b6a2ea98f3948f.zip
LCC compiler adjustments:
Warning level reduced from double -A to single -A
Diffstat (limited to 'm4')
-rw-r--r--m4/cares-compilers.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4
index 72e9db2..0609abf 100644
--- a/m4/cares-compilers.m4
+++ b/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
;;
#