[FFmpeg-devel] Avoid corrupting diagnostic state with _Pragma changes.
dalecurtis at chromium.org
Sat Nov 4 02:13:58 EET 2017
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1581 bytes
Desc: not available
More information about the ffmpeg-devel