[FFmpeg-devel] [PATCH 15/28] mingw workaround
Ramiro Polla
ramiro.polla
Wed Jun 30 14:29:45 CEST 2010
On Wed, Jun 30, 2010 at 6:09 AM, Mans Rullgard <mans at mansr.com> wrote:
> From: Cory Fields <theuni-nospam- at xbmc.org>
>
> ---
> ?configure | ? ?6 ++++--
> ?1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 4dd9ed7..27ebfe9 100755
> --- a/configure
> +++ b/configure
> @@ -2642,7 +2642,8 @@ check_cflags -Wcast-qual
> ?check_cflags -Wwrite-strings
> ?check_cflags -Wtype-limits
> ?check_cflags -Wundef
> -check_cflags -Wmissing-prototypes
> +# some gcc compilers (mingw 4.2.1-sjlj) are b0rk so for now skip this
> +# check_cflags -Wmissing-prototypes
Actually I think now all mingw (4.4 included) are b0rk. There was an
user report that added --extra-cflags=-U__STRICT_ANSI__ instead of
hacking configure. For 4.2 you might also need --extra-cflags=-D_MT.
Anyways, this patch is certainly not fit for SVN.
> ?enabled extra_warnings && check_cflags -Winline
>
> ?# add some linker flags
> @@ -2701,7 +2702,8 @@ elif enabled ccc; then
> ?elif enabled gcc; then
> ? ? check_cflags -fno-tree-vectorize
> ? ? check_cflags -Werror=implicit-function-declaration
> - ? ?check_cflags -Werror=missing-prototypes
> +# some gcc compilers (mingw 4.2.1-sjlj) are b0rk so for now skip this
> +# ? ?check_cflags -Werror=missing-prototypes
> ?elif enabled clang; then
> ? ? check_cflags -Qunused-arguments
> ?elif enabled armcc; then
More information about the ffmpeg-devel
mailing list