[FFmpeg-devel] FATE failure on mingw gcc-4.2.4

Ramiro Polla ramiro.polla
Thu Mar 11 10:43:22 CET 2010

On Thu, Mar 11, 2010 at 6:26 AM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> On Thu, Mar 11, 2010 at 6:24 AM, Frank Barchard <fbarchard at google.com> wrote:
>> 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:
>> c:\msys\1.0\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/inttypes.h:259:
>> error: no previous prototype for 'imaxabs'
>> c:\msys\1.0\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:357:
>> error: no previous prototype for '__fpclassifyl'
>> c:\msys\1.0\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/stdio.h:372:
>> error: no previous prototype for 'getc'
>> updating to 4.4, it builds. ?But it doesn't run?
> FATE and the autobuilds seem happy about 4.4.2. What version of
> binutils and mingw-runtime are you using?

Oh, are you using 4.4.0 from mingw.org? I've never gotten it to work,
it's full of bugs. It's better if you build your own (or get it from
some place like http://www.tdragon.net/recentgcc/ or
http://komisar.gin.by/mingw/index.html ).

More information about the ffmpeg-devel mailing list