Created
June 23, 2017 05:35
-
-
Save yeradis/dc28cb6e67de1b579620336bcdc8e64e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef __OBJC__ | |
#define DISABLE_NULL_WARNING \ | |
_Pragma("clang diagnostic push") \ | |
_Pragma("clang diagnostic ignored \"-Wnonnull\"") | |
#define ENABLE_NULL_WARNING \ | |
_Pragma("clang diagnostic pop") | |
#define DISABLE_UNUSED_WARNING \ | |
_Pragma("clang diagnostic push") \ | |
_Pragma("clang diagnostic ignored \"-Wunused-parameter\"") \ | |
_Pragma("clang diagnostic ignored \"-Wunused-variable\"") | |
#define ENABLE_UNUSED_WARNING \ | |
_Pragma("clang diagnostic pop") | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment