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:
Emil Velikov 2024-09-19 17:20:08 +01:00
parent 3ccc314d73
commit 3be17cd1bd

View File

@ -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',