mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
meson.build: add -Woverride-init
enable override-init warning to catch some more bugs. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
fdafb087d8
commit
cdd81c2744
@@ -47,6 +47,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
||||
'-Werror=address',
|
||||
'-Werror=int-to-pointer-cast',
|
||||
'-Werror=pointer-to-int-cast',
|
||||
'-Woverride-init',
|
||||
'-Wvla',
|
||||
]
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user