Add old style wwarning to compile flags. Fix code accordingly

This commit is contained in:
2019-08-25 21:51:35 +02:00
parent c5e697b366
commit b102d90d33
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ set(SOURCE
${LAYER_SELECTOR_SOURCES}
)
add_compile_options(-Wall)
add_compile_options(-Wall -Wold-style-declaration)
add_executable(${PROJECT_NAME} ${SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/resources/resources.c)
add_dependencies(${PROJECT_NAME} glib-resources)