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

Dale Curtis dalecurtis at chromium.org
Mon Nov 13 22:51:06 EET 2017


On Fri, Nov 3, 2017 at 5:13 PM, Dale Curtis <dalecurtis at chromium.org> 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 the code base it'll be flipped
> back on incorrectly with FF_ENABLE_DEPRECATION_WARNINGS.
> Signed-off-by: Dale Curtis <dalecurtis at chromium.org>

More information about the ffmpeg-devel mailing list