aboutsummaryrefslogtreecommitdiff
path: root/XcodeConfig
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-12 07:58:00 -0800
committerGravatar GitHub <noreply@github.com>2018-11-12 07:58:00 -0800
commit5b80c40d4c8e8c1017733c39f7bc5ba364673708 (patch)
tree9df622301b9e5e22343349ab104a2955875cd71d /XcodeConfig
parentc38a238b32e0e9a96d9a36d65f289ce3316008dc (diff)
Turn off reserved-id-macro warning. (#190)
This was causing errors when building with Xcode 10 and XCTest. XCTest defines a bunch of macros starting with _[A-Z] that were setting off the error when building for the Mac.
Diffstat (limited to 'XcodeConfig')
-rw-r--r--XcodeConfig/subconfig/General.xcconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/XcodeConfig/subconfig/General.xcconfig b/XcodeConfig/subconfig/General.xcconfig
index a62dcf6..1ce5390 100644
--- a/XcodeConfig/subconfig/General.xcconfig
+++ b/XcodeConfig/subconfig/General.xcconfig
@@ -107,6 +107,7 @@ GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64] = YES
// in the iPhoneSDK making us unable to turn this warning on.
// -Wstrict-prototypes - breaks the GTM_METHOD_CHECK macro
// -Wcast-align - causes a whole pile of problems buildng with iPhoneSDK
+// -Wreserved-id-macro - causes a lot of problems with xctest framework.
// Objective C warnings
// http://gcc.gnu.org/onlinedocs/gcc/Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options.html
@@ -117,7 +118,7 @@ GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64] = YES
// same selector rendering this mostly useless to us
// C Only Warnings
-GTM_GENERAL_OTHER_CFLAGS = -Wreserved-id-macro -Wdiv-by-zero -Wbad-function-cast -Wnested-externs -Wold-style-definition
+GTM_GENERAL_OTHER_CFLAGS = -Wdiv-by-zero -Wbad-function-cast -Wnested-externs -Wold-style-definition
// C++ Only Warnings
GTM_GENERAL_OTHER_CPLUSPLUSFLAGS = -Wabi -Wctor-dtor-privacy -Wstrict-null-sentinel -Wsign-promo