aboutsummaryrefslogtreecommitdiff
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
commit430b1a22dbb3f004796d20177b361a501bb4c74a (patch)
tree6cd410a06da54597208405bbf951684aa0662784 /m4
parenta754ea1326ea7f6fa099fa5c0c10d06e6e28eda3 (diff)
LCC compiler adjustments:
Warning level reduced from double -A to single -A
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-compilers.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index 06e5b5280..42142f013 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
;;
#