diff options
author | Ralph Giles <giles@mozilla.com> | 2013-07-15 16:17:02 -0700 |
---|---|---|
committer | Ralph Giles <giles@mozilla.com> | 2013-07-15 16:30:45 -0700 |
commit | ecc81ee6299dfe0f96f0d4fed3d24917c786fce2 (patch) | |
tree | 18fe2773ef62c07549d2ce9fa0e7611ceebe26f0 /win32/config.h | |
parent | 25eca1c33e240c39e5af4a055c5f00200bf359b4 (diff) | |
download | opus-ecc81ee6299dfe0f96f0d4fed3d24917c786fce2.tar.gz |
Disable MSVC posix security warnings in the project file.
By default Visual Studio warns about various C stdlib calls,
recommending non-portable replacements instead. We disable
this warning in a number of places in the source.
Since they're specific to the Visual Studio build, it's better
to disable them just in the project files where they always
apply to the correct toolchain.
I have only added the disable setting to project files which
need it currently: opus, test_opus_encode, and test_opus_decode.
Diffstat (limited to 'win32/config.h')
-rw-r--r-- | win32/config.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/win32/config.h b/win32/config.h index 81819b29..6cf0cadb 100644 --- a/win32/config.h +++ b/win32/config.h @@ -37,11 +37,6 @@ POSSIBILITY OF SUCH DAMAGE. #define OPUS_BUILD 1 -/* Get rid of the CELT VS compile warnings */ -#if 1 -#pragma warning(disable : 4996)/* 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. */ -#endif - /* Enable SSE functions, if compiled with SSE/SSE2 (note that AMD64 implies SSE2) */ #if defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP >= 1)) #define __SSE__ 1 |