[FFmpeg-cvslog] r12620 - trunk/configure

İsmail Dönmez ismail
Fri Mar 28 21:51:08 CET 2008


On Fri, Mar 28, 2008 at 10:04 PM, matthieu castet
<castet.matthieu at free.fr> wrote:
> 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.

Yes thats the point, it won't compile on 32bit. Thats why we use check_cc.

Regards,
ismail

-- 
Never learn by your mistakes, if you do you may never dare to try again.



More information about the ffmpeg-cvslog mailing list