[gtk] meson.build: Order warning flags alphabetically
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] meson.build: Order warning flags alphabetically
- Date: Tue, 22 Jan 2019 03:35:03 +0000 (UTC)
commit 7723749e00b14d62609942937ae0b8344665beaa
Author: Benjamin Otte <otte redhat com>
Date: Sun Jan 20 16:09:36 2019 +0100
meson.build: Order warning flags alphabetically
... and remove the duplicate we already had.
meson.build | 41 ++++++++++++++++++++---------------------
1 file changed, 20 insertions(+), 21 deletions(-)
---
diff --git a/meson.build b/meson.build
index 93314fb628..afacc98635 100644
--- a/meson.build
+++ b/meson.build
@@ -227,41 +227,40 @@ if cc.get_id() == 'msvc'
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_cflags = [
'-fno-strict-aliasing',
- '-Wpointer-arith',
- '-Wmissing-declarations',
- '-Wimplicit-function-declaration',
+ '-Wcast-align',
'-Wformat=2',
'-Wformat-nonliteral',
'-Wformat-security',
- '-Wstrict-prototypes',
+ '-Wignored-qualifiers',
+ '-Wimplicit-function-declaration',
+ '-Wlogical-op',
+ '-Wmissing-format-attribute',
+ '-Wmissing-include-dirs',
+ '-Wmissing-noreturn',
+ '-Wmissing-declarations',
'-Wmissing-prototypes',
'-Wnested-externs',
'-Wold-style-definition',
- '-Wundef',
- '-Wunused',
- '-Wcast-align',
- '-Wmissing-noreturn',
- '-Wmissing-format-attribute',
- '-Wmissing-include-dirs',
- '-Wlogical-op',
+ '-Wpointer-arith',
+ '-Wstrict-prototypes',
'-Wswitch-default',
'-Wswitch-enum',
- '-Wignored-qualifiers',
- '-Werror=redundant-decls',
+ '-Wundef',
+ '-Wunused',
+ '-Werror=address',
+ '-Werror=array-bounds',
+ '-Werror=empty-body',
'-Werror=implicit',
- '-Werror=nonnull',
'-Werror=init-self',
+ '-Werror=int-to-pointer-cast',
'-Werror=main',
'-Werror=missing-braces',
- '-Werror=sequence-point',
+ '-Werror=nonnull',
+ '-Werror=pointer-to-int-cast',
+ '-Werror=redundant-decls',
'-Werror=return-type',
+ '-Werror=sequence-point',
'-Werror=trigraphs',
- '-Werror=array-bounds',
- '-Werror=write-strings',
- '-Werror=address',
- '-Werror=int-to-pointer-cast',
- '-Werror=pointer-to-int-cast',
- '-Werror=empty-body',
'-Werror=write-strings',
]
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]