From 99913ce3e424044937d75b7d16b46a021e30587b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 5 Mar 2009 16:14:35 +0000 Subject: [PATCH] silence some useless sun cc warnings git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12462 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index 1d50e7790d..1810a1136b 100644 --- a/configure.in +++ b/configure.in @@ -131,6 +131,9 @@ AC_ARG_ENABLE(64, if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then APR_ADDTO(SWITCH_AM_CFLAGS, -KPIC) APR_ADDTO(SWITCH_AM_CFLAGS, -DPIC) + APR_ADDTO(SWITCH_AM_CFLAGS, -erroff=E_END_OF_LOOP_CODE_NOT_REACHED) + APR_ADDTO(SWITCH_AM_CFLAGS, -errtags=yes) + APR_ADDTO(SWITCH_AM_CXXFLAGS, -errtags=yes) APR_ADDTO(SWITCH_AM_CXXFLAGS, -KPIC) APR_ADDTO(SWITCH_AM_CXXFLAGS, -DPIC) APR_ADDTO(SWITCH_AM_CXXFLAGS, "-features=extensions")