commit | ab046f1dfc7baf4ef2ebe749aa0c8dfaa7c6d13d | [log] [tgz] |
---|---|---|
author | Wan-Teh Chang <wtc@google.com> | Wed Aug 03 09:53:43 2022 -0700 |
committer | Frank Barchard <fbarchard@chromium.org> | Wed Aug 03 21:18:02 2022 +0000 |
tree | 29c295ea02a236d001d37b9c13073c901eb7444d | |
parent | 02b8b885482282f3e5643bf6d44ac6e5cf7ee743 [diff] |
Define _CRT_SECURE_NO_WARNINGS if MSVC CRT is used Suppress the following MSVC compiler warnings: src\source\cpu_id.cc(140): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. src\source\cpu_id.cc(169): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. Note that build/config/win/BUILD.gn defines _CRT_SECURE_NO_DEPRECATE instead. _CRT_SECURE_NO_WARNINGS is the new name of the macro. See https://docs.microsoft.com/en-us/cpp/c-runtime-library/security-features-in-the-crt?view=msvc-140 Bug: libyuv:939 Change-Id: I0d1715b31e672126c35e29b99f5cbf08e4338f40 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3807104 Reviewed-by: Frank Barchard <fbarchard@chromium.org>
libyuv is an open source project that includes YUV scaling and conversion functionality.
See Getting started for instructions on how to get started developing.
You can also browse the docs directory for more documentation.