Commit cef5da5e authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Remove -Wno-unused-function flag from atk's build config.

Bug: 1067755
Change-Id: I5d52f194788aeaf211f3035892ca9d2a7d8f66fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134673
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756478}
parent 440d584f
......@@ -45,15 +45,8 @@ pkg_config("atk_base") {
config("atk") {
configs = [ ":atk_base" ]
cflags = [
# G_DEFINE_TYPE automatically generates a *get_instance_private
# inline function after glib 2.37. That's unused. Prevent to
# complain about it.
"-Wno-unused-function",
]
if (is_clang) {
# glib uses the pre-c++11 typedef-as-static_assert hack.
cflags += [ "-Wno-unused-local-typedef" ]
cflags = [ "-Wno-unused-local-typedef" ]
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment