On Fri, Aug 02, 2013 at 11:23:35PM +0300, Martin Storsjö wrote:
> On Fri, 2 Aug 2013, Diego Biurrun wrote:
> >--- a/configure
> >+++ b/configure
> >@@ -3395,8 +3395,7 @@ EOF
> >
> >check_cc <<EOF && enable pragma_deprecated
> >-_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
> >-_Pragma("GCC diagnostic warning \"-Wdeprecated-declarations\"")
> >+void foo(void) { _Pragma("GCC diagnostic ignored
> >\"-Wdeprecated-declarations\"") }
> >EOF
>
> Tested on one of the failing configs, seems to work.
Yeah, I created this with gcc 4.6 and could reproduce the issue with 4.4
on the same box, should have tested before :-/
> Any particular reason you change from testing both ignored and
> warning to just one of them?
None in particular; on second thought testing one appeared to be enough.
I really cannot imagine a compiler supporting only one.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel