[gtk/wip/baedert/test-cflags] build: Add -Wno-typedef-redefinition to build
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/test-cflags] build: Add -Wno-typedef-redefinition to build
- Date: Thu, 12 Mar 2020 07:34:08 +0000 (UTC)
commit 73d8f6a090afd8a9ea4ebffd5e1376a71f16e503
Author: Timm Bäder <mail baedert org>
Date: Thu Mar 12 08:32:34 2020 +0100
build: Add -Wno-typedef-redefinition to build
Clang otherwise complains about this
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 6fd7d68b45..a16b1074dc 100644
--- a/meson.build
+++ b/meson.build
@@ -237,6 +237,7 @@ if cc.get_id() == 'msvc'
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_cflags = [
'-fno-strict-aliasing',
+ '-Wno-typedef-redefinition',
'-Wcast-align',
'-Wduplicated-branches',
'-Wduplicated-cond',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]