Skip to content

Commit

Permalink
Don't use -Wunguarded-availability
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Mar 31, 2018
1 parent 481744b commit cc00a54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,8 @@ config("default_warnings") {
if ((is_mac || is_ios) && !is_nacl) {
# When compiling Objective-C, warns if a method is used whose
# availability is newer than the deployment target.
cflags += [ "-Wunguarded-availability" ]
# PATCH(build-gn): This is not available on old clang.
# cflags += [ "-Wunguarded-availability" ]
}

if (is_ios) {
Expand Down

0 comments on commit cc00a54

Please sign in to comment.