Explorar o código

Suppressing some clang warnings for deprecated methods.

August Mueller %!s(int64=13) %!d(string=hai) anos
pai
achega
ceef9e7744
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/FMResultSet.m

+ 4 - 0
src/FMResultSet.m

@@ -95,6 +95,9 @@ - (void)kvcMagic:(id)object {
     }
 }
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-implementations"
+
 - (NSDictionary*)resultDict {
     
     int num_cols = sqlite3_data_count([_statement statement]);
@@ -122,6 +125,7 @@ - (NSDictionary*)resultDict {
     return nil;
 }
 
+#pragma clang diagnostic pop
 
 - (NSDictionary*)resultDictionary {