On Wed, 27 Mar 2013 18:50:04 +0100, Diego Biurrun <[email protected]> wrote:
> ---
>  configure            |    6 ++++++
>  libavutil/internal.h |    8 ++++++++
>  2 files changed, 14 insertions(+)
> 
> diff --git a/configure b/configure
> index c25d3b4..8bfd432 100755
> --- a/configure
> +++ b/configure
> @@ -1244,6 +1244,7 @@ HAVE_LIST="
>      cpunop
>      CryptGenRandom
>      dcbzl
> +    pragma_deprecated
>      dev_bktr_ioctl_bt848_h
>      dev_bktr_ioctl_meteor_h
>      dev_ic_bt8xx_h
> @@ -3221,6 +3222,11 @@ void foo(char * $restrict_keyword p);
>  EOF
>  done
>  
> +check_cc <<EOF && enable pragma_deprecated
> +_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
> +_Pragma("GCC diagnostic warning \"-Wdeprecated-declarations\"")
> +EOF

Isn't this likely to produce extra warnings in a compiler that supports _Pragma
in general, but doesn't support this specific one?

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to