diff options
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h | 5 | ||||
-rw-r--r-- | Source/SPFieldEditorController.m | 5 |
2 files changed, 4 insertions, 6 deletions
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 <mach/mach_time.h> -#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 diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m index d93db3db..6e1e1fd5 100644 --- a/Source/SPFieldEditorController.m +++ b/Source/SPFieldEditorController.m @@ -49,11 +49,6 @@ @end -#ifdef SP_CODA -/* Suppress deprecation warning for beginSheetForDirectory: until Sequel Pro team can migrate */ -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" -#endif - @implementation SPFieldEditorController @synthesize editedFieldInfo; |