build: add -Wmissing-format-attribute

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-20 14:49:37 +02:00
parent 1f889a0108
commit 6f89051f8d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ ADD_DEFINITIONS(-std=gnu99 -ggdb3 -fno-strict-aliasing -Wall -Wextra
-Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings
-Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self -Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self
-Wpointer-arith -Wredundant-decls -Wformat-nonliteral -Wpointer-arith -Wredundant-decls -Wformat-nonliteral
-Wno-format-zero-length) -Wno-format-zero-length -Wmissing-format-attribute)
# If this is a git repository... # If this is a git repository...
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/HEAD) IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/HEAD)