Fix deprecated api ignoring macros on clang
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user