[FFmpeg-devel] Avoid corrupting diagnostic state with _Pragma changes.
Dale Curtis
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...
Name: fix_pragma.patch
Type: text/x-patch
Size: 1581 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171103/ff5dc5a1/attachment.bin>
More information about the ffmpeg-devel
mailing list