fix msvc crt deprication warnings

This commit is contained in:
Isuru Samarathunga
2025-07-08 03:44:04 +05:30
parent 491342ad50
commit 0bb22cf2f4
3 changed files with 5 additions and 1 deletions

View File

@ -27,9 +27,12 @@
#include <type_traits>
#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."
#endif
#endif
#define IAC_SEC_LEVEL(v) (IACORE_SECURITY_LEVEL >= v)