aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 05:18:03 -0600
committerEric Engestrom2018-01-31 05:23:00 -0600
commitba17673eed0383cc41ed49e8c9841b6b819fdfd3 (patch)
treee6d79b6edd28b04573b36ab067e398f316b3c902 /meson.build
parent440e6ad0702a912dc61e19aba179e13903767a9a (diff)
downloadexternal-libgbm-ba17673eed0383cc41ed49e8c9841b6b819fdfd3.tar.gz
external-libgbm-ba17673eed0383cc41ed49e8c9841b6b819fdfd3.tar.xz
external-libgbm-ba17673eed0383cc41ed49e8c9841b6b819fdfd3.zip
meson,configure: turn undefined preprocessor tokens warnings into errors
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e249ea0f..1342a5b3 100644
--- a/meson.build
+++ b/meson.build
@@ -203,7 +203,7 @@ if cc.has_function('open_memstream')
203endif 203endif
204 204
205warn_c_args = [] 205warn_c_args = []
206foreach a : ['-Wall', '-Wextra', '-Wsign-compare', '-Wundef', 206foreach a : ['-Wall', '-Wextra', '-Wsign-compare', '-Werror=undef',
207 '-Werror-implicit-function-declaration', '-Wpointer-arith', 207 '-Werror-implicit-function-declaration', '-Wpointer-arith',
208 '-Wwrite-strings', '-Wstrict-prototypes', '-Wmissing-prototypes', 208 '-Wwrite-strings', '-Wstrict-prototypes', '-Wmissing-prototypes',
209 '-Wmissing-declarations', '-Wnested-externs', '-Wpacked', 209 '-Wmissing-declarations', '-Wnested-externs', '-Wpacked',