Use -Werror when compiling.

This commit is contained in:
Håvard Pettersson 2014-10-01 04:27:45 +02:00
parent d6193777c9
commit ce39463605

View File

@ -48,7 +48,7 @@ add_library(tox MODULE
src/twc-utils.c src/twc-utils.c
) )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra -Werror-implicit-function-declaration -Wno-unused-parameter") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter")
target_link_libraries(tox toxcore) target_link_libraries(tox toxcore)
target_link_libraries(tox jansson) target_link_libraries(tox jansson)