[FFmpeg-trac] #1269(undetermined:closed): FFMPEG won't compile on RedHat el5
FFmpeg
trac at avcodec.org
Wed May 2 20:01:04 CEST 2012
#1269: FFMPEG won't compile on RedHat el5
-------------------------------------+-------------------------------------
Reporter: alexffmpeg | Owner: michael
Type: defect | Status: closed
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution: invalid
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by reimar):
* status: new => closed
* resolution: => invalid
Comment:
> ./libavutil/avutil.h:340: warning: cast to pointer from integer of
different size
That is this line:
return (void *)(intptr_t)(p ? p : x);
So this means that intptr_t is 32-bit for a 64-bit build. This is
consistent with the other errors you get.
This is a _severely_ broken build environment. Do _not_ use that compiler
to compile _anything_.
It will create binaries that have major, but non-obvious bugs (at least if
intptr_t is used in the code).
I can't say for sure whether the issue is in stdint.h or the compiler
itself, but there is no question it is broken and that whatever the issue
is it has nothing at all to do with FFmpeg.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1269#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list