[glib/wip/pwithnall/macos-werror: 1/4] build: Disable -Wvariadic-macros
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/macos-werror: 1/4] build: Disable -Wvariadic-macros
- Date: Thu, 18 Nov 2021 14:32:14 +0000 (UTC)
commit cc0e2978a41b8532b9a51e6a91a3f5fefb98db6e
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]