mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +03:00
r16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error.
This commit is contained in:
parent
5853525f11
commit
2131ddd7a1
@ -554,7 +554,14 @@ AC_CANONICAL_SYSTEM
|
|||||||
|
|
||||||
dnl Add #include for broken IRIX header files
|
dnl Add #include for broken IRIX header files
|
||||||
case "$host_os" in
|
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
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user