[glib/wip/pwithnall/macos-werror] build: Disable -Wvariadic-macros
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/macos-werror] build: Disable -Wvariadic-macros
- Date: Thu, 18 Nov 2021 11:59:15 +0000 (UTC)
commit 70ef2cd1ec34eb8b0b63972266bdd0ac5dc63c88
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Nov 18 11:58:18 2021 +0000
build: Disable -Wvariadic-macros
We explicitly require support for variadic macros; see
https://wiki.gnome.org/Projects/GLib/CompilerRequirements.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
meson.build | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index ef75306c2..c29570f2d 100644
--- a/meson.build
+++ b/meson.build
@@ -442,6 +442,8 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wno-pedantic',
# A zero-length format string shouldn't be considered an issue.
'-Wno-format-zero-length',
+ # We explicitly require variadic macros
+ '-Wno-variadic-macros',
'-Werror=declaration-after-statement',
'-Werror=format=2',
'-Werror=implicit-function-declaration',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]