build: add some more warning checks

This commit is contained in:
Dirk-Jan C. Binnema 2022-05-14 12:43:09 +03:00
parent eab5ba2bd4
commit af25799552
1 changed files with 6 additions and 2 deletions

View File

@ -42,8 +42,12 @@ infodir = join_paths(prefixdir, get_option('infodir'))
extra_flags = [
'-Wno-unused-parameter',
'-Wno-cast-function-type',
'-Wno-#warnings'
]
'-Wformat-security',
'-Wformat=2',
'-Wstack-protector',
# '-Wshadow',
'-Wno-switch-enum',
'-Wno-#warnings']
if get_option('buildtype') == 'debug'
extra_flags += [