Skip to content

Commit

Permalink
[build] Disable warning for deprecated declaration (#3270)
Browse files Browse the repository at this point in the history
Add "-Wno-deprecated-declarations" to cflags. The deprecated declaration
warning breaks builds in some Linux and Android build environments.

b/330363799

Change-Id: I9c0cfc5e2ca9fa4241c6d866b5946b13e31e2545
  • Loading branch information
xiaomings committed May 16, 2024
1 parent 3725b01 commit c072eeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starboard/build/config/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if (cobalt_pending_clean_up) {
if (is_clang) {
cflags = [
"-Wno-c99-designator",
"-Wno-deprecated-declarations",
"-Wno-ignored-qualifiers",
"-Wno-implicit-fallthrough",
"-Wno-inconsistent-missing-override",
Expand Down

0 comments on commit c072eeb

Please sign in to comment.