Mercurial > mplayer.hg
comparison configure @ 29784:a71d9cd6f01f
Add cast to signed for 64 bit check, since according to an FFmpeg bug report
some compilers (llvm?) do not fail when arrays larger than the maximum
addressable size are declared but instead just silently generate broken code.
author | reimar |
---|---|
date | Thu, 05 Nov 2009 19:05:42 +0000 |
parents | 508417d485d6 |
children | c2dde95d9850 |
comparison
equal
deleted
inserted
replaced
29783:b8a8ebad6761 | 29784:a71d9cd6f01f |
---|---|
1575 test "$cc_fail" = yes && die "unsupported compiler version" | 1575 test "$cc_fail" = yes && die "unsupported compiler version" |
1576 | 1576 |
1577 if test -z "$_target" && x86 ; then | 1577 if test -z "$_target" && x86 ; then |
1578 cat > $TMPC << EOF | 1578 cat > $TMPC << EOF |
1579 int main(void) { | 1579 int main(void) { |
1580 int test[sizeof(char *)-7]; | 1580 int test[(int)sizeof(char *)-7]; |
1581 return 0; | 1581 return 0; |
1582 } | 1582 } |
1583 EOF | 1583 EOF |
1584 cc_check && host_arch=x86_64 || host_arch=i386 | 1584 cc_check && host_arch=x86_64 || host_arch=i386 |
1585 fi | 1585 fi |