[FFmpeg-devel] FATE failure on mingw gcc-4.2.4
Thu Mar 11 10:24:13 CET 2010
On Mon, Mar 8, 2010 at 8:02 PM, M?ns Rullg?rd <mans at mansr.com> wrote:
> The build failures on mingw with gcc 4.2.4 are caused by the recent
> addition of -Werror=missing-prototypes triggering an error in
> stdio.h. For some reason, this gcc version isn't treating this as a
> system header and suppressing warnings.
> It might be possible to work around this by providing an explicit
> --sysroot argument to ffmpeg's configure. Could someone with an
> affected system please try this?
This is affecting chromium, which uses:
gcc-sjlj.exe (GCC) 4.2.1-sjlj (mingw32-2)
a sampling of errors:
error: no previous prototype for 'imaxabs'
error: no previous prototype for '__fpclassifyl'
error: no previous prototype for 'getc'
updating to 4.4, it builds. But it doesn't run?
I'm able to repro this using
./configure --enable-memalign-hack --enable-shared
static version is fine.
If I remove this
and configure for gcc 4.2, it works
$ ./configure --enable-memalign-hack --disable-bsfs --enable-shared
I propose we back off on the fatal warning until 4.4 is sorted out.
More information about the ffmpeg-devel