From 5b80c40d4c8e8c1017733c39f7bc5ba364673708 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Mon, 12 Nov 2018 07:58:00 -0800 Subject: 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. --- XcodeConfig/subconfig/General.xcconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3