mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git
synced 2024-11-14 22:43:40 +08:00
meson: enable commented out warnings
The code is warning free, so flip those on. Flip the Wformat=2 and Wformat order, since the latter is =1 and overrides the former. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
3ccc314d73
commit
3be17cd1bd
12
meson.build
12
meson.build
@ -18,14 +18,14 @@ cc = meson.get_compiler('c')
|
||||
add_project_arguments(
|
||||
cc.get_supported_arguments([
|
||||
'-Wbad-function-cast',
|
||||
# '-Wcast-align',
|
||||
'-Wcast-align',
|
||||
'-Wchar-subscripts',
|
||||
# '-Wempty-body',
|
||||
'-Wempty-body',
|
||||
'-Wformat',
|
||||
'-Wformat=2',
|
||||
# '-Wformat',
|
||||
# '-Wformat-nonliteral',
|
||||
# '-Wformat-security',
|
||||
# '-Wformat-y2k',
|
||||
'-Wformat-nonliteral',
|
||||
'-Wformat-security',
|
||||
'-Wformat-y2k',
|
||||
'-Winit-self',
|
||||
'-Winline',
|
||||
'-Wmissing-declarations',
|
||||
|
Loading…
Reference in New Issue
Block a user