mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
meson.build: Pass -Wno-error=maybe-uninitialized
The nightly flatpak builds after
ce54a25275
fail due to an unfortunate combination of compiler flags. This commit
disables the error, since it’s rather inconsistent when the warning is
spit out.
This commit is contained in:
parent
3332de3026
commit
4c2e9da9a9
1 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,13 @@ add_project_arguments(
|
|||
'-Werror=strict-prototypes',
|
||||
'-Werror=undef',
|
||||
'-Werror=uninitialized',
|
||||
# Context: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/commit/ce54a2527555e51e4ebf4cce9cbb6259cafa89a4
|
||||
# -O2 and -fexceptions unmask some cases of -Wmaybe-uninitialized, which
|
||||
# become errors for some reason (I’m guessing because of the
|
||||
# -Werror=uninitialized above, but no idea why that implies this).
|
||||
# This being an error is nice and all, but not when its appearance is
|
||||
# dependent on optimization level and other flags.
|
||||
'-Wno-error=maybe-uninitialized',
|
||||
]),
|
||||
'-D_GNU_SOURCE',
|
||||
language: 'c'
|
||||
|
|
Loading…
Reference in a new issue