meson: turn on -Wno-unused-function project-wide
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 24 Mar 2022 09:34:41 +0000 (10:34 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 19 Apr 2022 06:54:47 +0000 (06:54 +0000)
commitbe952e71a70bb6ac1afde8876e4615b287bd4089
tree4850a0606ddf9aebc6bf6ee65675f6b39b2219f1
parentb27a2ba4fcb07d0d55e237f6d62c8dd69e0f1380
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>
meson.build