svn commit: samba r16483 - branches/SAMBA_3_0/source trunk/source

jpeach at samba.org jpeach at samba.org
Fri Jun 23 06:00:17 GMT 2006


Author: jpeach
Date: 2006-06-23 06:00:16 +0000 (Fri, 23 Jun 2006)
New Revision: 16483

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16483

Log:
Turn off some useless MIPSPro warnings be default.

Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2006-06-23 05:28:34 UTC (rev 16482)
+++ branches/SAMBA_3_0/source/configure.in	2006-06-23 06:00:16 UTC (rev 16483)
@@ -557,10 +557,18 @@
 	*irix6*)
 		AC_ADD_INCLUDE(<standards.h>)
 		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

Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in	2006-06-23 05:28:34 UTC (rev 16482)
+++ trunk/source/configure.in	2006-06-23 06:00:16 UTC (rev 16483)
@@ -557,10 +557,18 @@
 	*irix6*)
 		AC_ADD_INCLUDE(<standards.h>)
 		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



More information about the samba-cvs mailing list