1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

r16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error.

This commit is contained in:
James Peach 2006-06-23 05:28:34 +00:00 committed by Gerald (Jerry) Carter
parent 5853525f11
commit 2131ddd7a1

View File

@ -554,7 +554,14 @@ AC_CANONICAL_SYSTEM
dnl Add #include for broken IRIX header files
case "$host_os" in
*irix6*) AC_ADD_INCLUDE(<standards.h>)
*irix6*)
AC_ADD_INCLUDE(<standards.h>)
if test x"$ac_cv_prog_gcc" != x"yes" ; then
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"
fi
;;
esac