diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2023-06-14 11:09:32 +0200 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2023-06-15 15:43:53 +0200 |
commit | 7f644a815be6406aefb7ba715cf96feb44dbb355 (patch) | |
tree | 3c2a951b0feba3068f5d46a14fcb213ac2f843a5 | |
parent | 5c15c7f5a828aeeeaca8a5eeb4e428e32ebb2b0c (diff) |
Revert "meson: tighten up compile warnings with -Werror=all"
Meson has built-in support to for Werror
This reverts commit 3967afc060cd8a19e825235ffc6501c0ee538a35.
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1159>
-rw-r--r-- | meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meson.build b/meson.build index ca6054f..ed1e43a 100644 --- a/meson.build +++ b/meson.build @@ -48,7 +48,14 @@ if cc.get_id() == 'gcc' and cc.version().version_compare('< 4.1') endif warnings = [ - '-Werror=all', + '-Werror=enum-int-mismatch', + '-Werror=implicit-function-declaration', + '-Werror=missing-prototypes', + '-Werror=pedantic', + '-Wmissing-prototypes', + '-Werror=incompatible-pointer-types', + '-Werror=int-to-pointer-cast', + '-Werror=switch', '-Wno-overlength-strings', '-Wno-missing-field-initializers', ] |