diff options
-rw-r--r-- | Foundation/GTMRegex.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMRegex.h b/Foundation/GTMRegex.h index 5ec778f..03f7ae5 100644 --- a/Foundation/GTMRegex.h +++ b/Foundation/GTMRegex.h @@ -54,6 +54,10 @@ typedef NSUInteger GTMRegexOptions; /// Global contants needed for errors from consuming patterns +// Ignore the "Macro name is a reserved identifier" warning in this section +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-id-macro" + #undef _EXTERN #undef _INITIALIZE_AS #if GTMREGEX_DEFINE_GLOBALS @@ -64,6 +68,8 @@ typedef NSUInteger GTMRegexOptions; #define _INITIALIZE_AS(x) #endif +#pragma clang diagnostic pop + _EXTERN NSString* kGTMRegexErrorDomain _INITIALIZE_AS(@"com.google.mactoolbox.RegexDomain"); enum { |