fix msvc crt deprication warnings
This commit is contained in:
Binary file not shown.
1
.gitignore
vendored
1
.gitignore
vendored
@ -46,4 +46,5 @@
|
|||||||
# Built Visual Studio Code Extensions
|
# Built Visual Studio Code Extensions
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
|
.cache/
|
||||||
build/
|
build/
|
||||||
|
|||||||
@ -27,9 +27,12 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
|
|
||||||
#if defined (_MSC_VER ) && !defined(__clang__)
|
#if defined (_MSC_VER )
|
||||||
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
#if !defined(__clang__)
|
||||||
#error "IA software does not support compilation with MSVC. Please use Clang on Windows platforms."
|
#error "IA software does not support compilation with MSVC. Please use Clang on Windows platforms."
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define IAC_SEC_LEVEL(v) (IACORE_SECURITY_LEVEL >= v)
|
#define IAC_SEC_LEVEL(v) (IACORE_SECURITY_LEVEL >= v)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user