On Wed, Mar 27, 2013 at 07:24:46PM +0100, Anton Khirnov wrote: > > On Wed, 27 Mar 2013 18:50:04 +0100, Diego Biurrun <[email protected]> wrote: > > --- a/configure > > +++ b/configure > > @@ -1244,6 +1244,7 @@ HAVE_LIST=" > > dcbzl > > + pragma_deprecated > > dev_bktr_ioctl_bt848_h > > @@ -3221,6 +3222,11 @@ void foo(char * $restrict_keyword p); > > > > +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?
I don't follow, why should it? If the pragma directive is not supported, the macro will be empty... Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
