build: add -Wmissing-format-attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1f889a0108
commit
6f89051f8d
|
@ -16,7 +16,7 @@ ADD_DEFINITIONS(-std=gnu99 -ggdb3 -fno-strict-aliasing -Wall -Wextra
|
|||
-Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings
|
||||
-Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self
|
||||
-Wpointer-arith -Wredundant-decls -Wformat-nonliteral
|
||||
-Wno-format-zero-length)
|
||||
-Wno-format-zero-length -Wmissing-format-attribute)
|
||||
|
||||
# If this is a git repository...
|
||||
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/HEAD)
|
||||
|
|
Loading…
Reference in New Issue