mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
meson: turn on -Wno-unused-function project-wide
We generate a lot of functions without knowing if they end up being used or not. So we can't easily avoid these warnings. This fixes a bunch of warnings for me when building with Clang. Acked-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15547>
This commit is contained in:
parent
b27a2ba4fc
commit
be952e71a7
@ -1167,6 +1167,7 @@ else
|
||||
'-fno-common',
|
||||
# Clang
|
||||
'-Wno-microsoft-enum-value',
|
||||
'-Wno-unused-function',
|
||||
]
|
||||
_trial_cpp = [
|
||||
'-Werror=return-type',
|
||||
|
Loading…
Reference in New Issue
Block a user