Skip to content

Commit

Permalink
[build] Remove global -Wno-deprecated-non-prototype
Browse files Browse the repository at this point in the history
Fix an instance in libevent.

Sink -Wno-deprecated-non-prototype into zlib, it's the only remaining library where this warning fires. (upstream bug madler/zlib#633)

Bug: 1314867
Change-Id: I2547ba1b358ab90ec6dece4f0879b2ebe6f59820
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3615937
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Arthur Eubanks <aeubanks@google.com>
Cr-Commit-Position: refs/heads/main@{#998593}
NOKEYCHECK=True
GitOrigin-RevId: cbba1d4d16d3dfeb51421749cafa34c2666f8b26
  • Loading branch information
aeubanks authored and copybara-github committed May 2, 2022
1 parent 56e01bf commit be173d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1532,9 +1532,6 @@ config("default_warnings") {
if (!is_nacl) {
# TODO(https://crbug.com/1300731) Clean up and enable.
cflags += [ "-Wno-unqualified-std-cast-call" ]

# TODO(https://crbug.com/1314867): Clean up and enable.
cflags += [ "-Wno-deprecated-non-prototype" ]
}

if (!is_nacl && !(is_chromeos ||
Expand Down

0 comments on commit be173d9

Please sign in to comment.