Skip to content

Commit

Permalink
Enable -Wconversion tree-wide on darwin.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Feb 28, 2023
1 parent 92d86d5 commit 1e01174
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ config("strict_warnings") {
]
}

if (current_os == "mac" || current_os == "ios") {
cflags += [ "-Wconversion" ]
}

if (build_java_matter_controller) {
cflags -= [ "-Wshadow" ]
}
Expand Down

0 comments on commit 1e01174

Please sign in to comment.