From a7a2ce8080e90890875ddd803bab5a7dd9c75799 Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 23 Jun 2006 06:00:16 +0000 Subject: [PATCH] r16483: Turn off some useless MIPSPro warnings be default. --- source/configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/configure.in b/source/configure.in index bf1acefb0cf..d285647df37 100644 --- a/source/configure.in +++ b/source/configure.in @@ -557,10 +557,18 @@ dnl Add #include for broken IRIX header files *irix6*) AC_ADD_INCLUDE() if test x"$ac_cv_prog_gcc" != x"yes" ; then + dnl Fix sensible defaults for MIPSPro compilers. The + dnl error numbers are valid for the 7.3 compilers, + dnl hopefully also valid for the 7.4 series. + dnl dnl Bugzilla 3801. Force an error on warning 1035 dnl so we don't incorrectly detect stdint.h. This dnl warning is emitted for #error directives. CFLAGS="$CFLAGS -diag_error 1035" + dnl 1209: Controlling expression is constant + dnl 1174: Function foo declared but never referenced + dnl 3201: Parameter foo was never referenced + CFLAGS="$CFLAGS -woff 1209,1174,3201" fi ;; esac -- 2.34.1