meson.build: enable -Werror=format

This commit is contained in:
Barnabás Pőcze 2024-06-27 14:40:31 +02:00 committed by Wim Taymans
parent 17fcc9fc51
commit ec521ca870
3 changed files with 4 additions and 3 deletions

View file

@ -81,7 +81,8 @@ common_flags = [
'-Wsign-compare',
'-Wpointer-arith',
'-Wpointer-sign',
'-Wformat',
'-Werror=format',
'-Wno-error=format-overflow', # avoid some "%s directive argument is null"
'-Wformat-security',
'-Wimplicit-fallthrough',
'-Wmissing-braces',