Re: [FFmpeg-devel] [PATCH] avcodec/xvmc: apply attribute_deprecated correctly

2015-10-09 Thread Ganesh Ajjanagadde
On Fri, Oct 9, 2015 at 7:34 PM, Ivan Kalvachev wrote: > On 10/10/15, Ganesh Ajjanagadde wrote: >> This fixes a warning observed on Clang 3.7: >> "warning: attribute 'deprecated' is ignored, place it after "struct" to >> apply attribute to type declaration [-Wignored-attributes]" >> and thus enabl

Re: [FFmpeg-devel] [PATCH] avcodec/xvmc: apply attribute_deprecated correctly

2015-10-09 Thread Ivan Kalvachev
On 10/10/15, Ganesh Ajjanagadde wrote: > This fixes a warning observed on Clang 3.7: > "warning: attribute 'deprecated' is ignored, place it after "struct" to > apply attribute to type declaration [-Wignored-attributes]" > and thus enables deprecation warning for the relevant struct. > > Signed-of

Re: [FFmpeg-devel] [PATCH] avcodec/xvmc: apply attribute_deprecated correctly

2015-10-09 Thread Ronald S. Bultje
Hi, On Fri, Oct 9, 2015 at 6:44 PM, Ganesh Ajjanagadde wrote: > This fixes a warning observed on Clang 3.7: > "warning: attribute 'deprecated' is ignored, place it after "struct" to > apply attribute to type declaration [-Wignored-attributes]" > and thus enables deprecation warning for the relev

[FFmpeg-devel] [PATCH] avcodec/xvmc: apply attribute_deprecated correctly

2015-10-09 Thread Ganesh Ajjanagadde
This fixes a warning observed on Clang 3.7: "warning: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]" and thus enables deprecation warning for the relevant struct. Signed-off-by: Ganesh Ajjanagadde --- libavcodec/xvmc.h |