[FFmpeg-devel] Avoid corrupting diagnostic state with _Pragma changes.

2017-11-03 Thread Dale Curtis
The macros for ICC and MSVC correctly push and pop the diagnostic state of the compiler when disabling deprecation warnings. The ones for clang/gcc should do the same. Without this, if a blanket deprecation warning is applied to the code base it'll be flipped back on incorrectly with FF_ENABLE_DEPR

Re: [FFmpeg-devel] Avoid corrupting diagnostic state with _Pragma changes.

2017-11-13 Thread Dale Curtis
Ping? On Fri, Nov 3, 2017 at 5:13 PM, Dale Curtis wrote: > The macros for ICC and MSVC correctly push and pop the diagnostic > state of the compiler when disabling deprecation warnings. The > ones for clang/gcc should do the same. Without this, if a blanket > deprecation warning is applied to th

Re: [FFmpeg-devel] Avoid corrupting diagnostic state with _Pragma changes.

2017-11-14 Thread Michael Niedermayer
On Fri, Nov 03, 2017 at 05:13:58PM -0700, Dale Curtis wrote: > The macros for ICC and MSVC correctly push and pop the diagnostic > state of the compiler when disabling deprecation warnings. The > ones for clang/gcc should do the same. Without this, if a blanket > deprecation warning is applied to t