From 449700e91b25ca4324d221f92c39dc064721f4ea Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Sun, 26 Jan 2014 13:41:42 +0000 Subject: Specify clang, not GCC. --- Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Frameworks/SPMySQLFramework') diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h b/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h index b02f60dc..50f9d504 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h @@ -30,7 +30,8 @@ #include -#pragma GCC diagnostic ignored "-Wunused-function" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-function" /** * Define a project function to make it easier to use mach_absolute_time() @@ -43,3 +44,5 @@ static double _elapsedSecondsSinceAbsoluteTime(uint64_t comparisonTime) return (((double)UnsignedWideToUInt64(elapsedTime)) * 1e-9); } + +#pragma clang diagnostic pop -- cgit v1.2.3