mirror of https://github.com/djcb/mu.git
build: add some more warning checks
This commit is contained in:
parent
eab5ba2bd4
commit
af25799552
|
@ -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 += [
|
||||
|
|
Loading…
Reference in New Issue