[FFmpeg-cvslog] r12620 - trunk/configure

matthieu castet castet.matthieu
Fri Mar 28 21:04:25 CET 2008


diego wrote:
> Author: diego
> Date: Fri Mar 28 12:53:37 2008
> New Revision: 12620
> 
> Log:
> Replace hackish CFLAGS 64 bit test by a proper compilation check.
> patch by ?smail D?nmez, ismail namtrac org
> 
> 
> Modified:
>    trunk/configure
> 
> Modified: trunk/configure
> ==============================================================================
> +        check_cc <<EOF && enable fast_64bit && arch="x86_64"
> +        int test[sizeof(char*) - 7];
> +EOF
Just for info gcc see "sizeof(char*) - 7" as a big integer not a 
negative integer.

The check still failed on 32 bits because of array overflow. I wonder if 
it was the expected behaviour.




More information about the ffmpeg-cvslog mailing list