[FFmpeg-devel] patch: remove some warnings mingw
Roger Pack
rogerdpack2 at gmail.com
Thu Sep 6 00:25:54 CEST 2012
Dunno if this is the best way to do this, but the patch avoid these
(somewhat annoying) warnings when cross compiling with mingw-w64:
CC libavformat/avio.o
In file included from libavformat/avio.c:26:0:
libavformat/os_support.h:40:0: warning: "stat" redefined [enabled by default]
In file included from libavformat/os_support.h:32:0,
from libavformat/avio.c:26:
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:255:0:
note: this is the location of the previous definition
In file included from libavformat/avio.c:26:0:
libavformat/os_support.h:41:0: warning: "fstat" redefined [enabled by default]
In file included from libavformat/os_support.h:32:0,
from libavformat/avio.c:26:
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/include/sys/stat.h:256:0:
note: this is the location of the previous definition
Thanks.
-r
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-eliminate-some-mingw-warnings.patch
Type: application/octet-stream
Size: 808 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120905/b6a1f071/attachment.obj>
More information about the ffmpeg-devel
mailing list