[libdazzle: 1/7] build: remove undef warnings from cflags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle: 1/7] build: remove undef warnings from cflags
- Date: Sun, 27 Jun 2021 17:09:59 +0000 (UTC)
commit 6d551056cab94c0910b0a187c359ead5c2b9ff0a
Author: Tom Schoonjans <Tom Schoonjans rfi ac uk>
Date: Sun Jun 27 06:42:40 2021 +0100
build: remove undef warnings from cflags
These flags break the build on Windows, where __GNUC__ is not defined and
checked for in the glib headers
meson.build | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9a2c157..67c6db7 100644
--- a/meson.build
+++ b/meson.build
@@ -79,7 +79,6 @@ test_c_args = [
'-Werror=shadow',
'-Werror=strict-prototypes',
'-Werror=trigraphs',
- '-Werror=undef',
'-Werror=write-strings',
'-Wformat-nonliteral',
['-Werror=format-security', '-Werror=format=2' ],
@@ -101,7 +100,6 @@ test_c_args = [
'-Wstrict-prototypes',
'-Wswitch-default',
'-Wswitch-enum',
- '-Wundef',
'-Wuninitialized',
'-Wunused',
'-fno-strict-aliasing',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]