From 430b1a22dbb3f004796d20177b361a501bb4c74a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 11 Oct 2008 16:19:35 +0000 Subject: LCC compiler adjustments: Warning level reduced from double -A to single -A --- ares/m4/cares-compilers.m4 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ares/m4/cares-compilers.m4') diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 72e9db271..0609abf24 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 ;; # -- cgit v1.2.3