aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
Diffstat (limited to 'GTMDefines.h')
-rw-r--r--GTMDefines.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/GTMDefines.h b/GTMDefines.h
index 8ec88cc..7feb1cb 100644
--- a/GTMDefines.h
+++ b/GTMDefines.h
@@ -109,6 +109,10 @@
// been placed in.
//
+// Ignore the "Macro name is a reserved identifier" warning in this section
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wreserved-id-macro"
+
// We only define the simple macros if nothing else has defined this.
#ifndef _GTMDevLog
@@ -170,6 +174,8 @@
#endif // __has_feature(c_static_assert) || __has_extension(c_static_assert)
#endif // _GTMCompileAssert
+#pragma clang diagnostic pop
+
// ----------------------------------------------------------------------------
// CPP symbols defined based on the project settings so the GTM code has
// simple things to test against w/o scattering the knowledge of project