Use -Werror when compiling.
This commit is contained in:
parent
d6193777c9
commit
ce39463605
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user