enable and fix -Werror=suggest-attribute=format

This commit is contained in:
Wim Taymans 2020-02-20 18:20:04 +01:00
parent 020ac545a8
commit bdeeebfdd4
7 changed files with 18 additions and 15 deletions

View file

@ -52,6 +52,7 @@ if cc.get_id() == 'gcc'
'-Wimplicit-fallthrough',
'-Wpointer-arith',
'-Wformat-security',
'-Werror=suggest-attribute=format',
# '-DSPA_DEBUG_MEMCPY',
# '-DFASTPATH',
language : 'c')