Skip to content

Commit

Permalink
Conditionally ignore -Wobjc-messaging-id based on availability
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Jul 13, 2018
1 parent 39ece84 commit 33b38b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/ONOXMLDocument.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-missing-property-synthesis"
#if !defined(__has_warning) || __has_warning("-Wobjc-messaging-id")
#pragma clang diagnostic ignored "-Wobjc-messaging-id"
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down

0 comments on commit 33b38b8

Please sign in to comment.