diff --git a/Source/Engine/Core/Compiler.h b/Source/Engine/Core/Compiler.h index c24bcc475..edf44eff5 100644 --- a/Source/Engine/Core/Compiler.h +++ b/Source/Engine/Core/Compiler.h @@ -22,7 +22,7 @@ #define DEPRECATED [[deprecated]] #define PRAGMA_DISABLE_DEPRECATION_WARNINGS \ _Pragma("clang diagnostic push") \ - _Pragma("clang diagnostic warning \"-Wdeprecated-declarations\"") + _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") #define PRAGMA_ENABLE_DEPRECATION_WARNINGS \ _Pragma("clang diagnostic pop")