diff --git a/CMakeLists.txt b/CMakeLists.txt index 4685642..65f456d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,18 +236,12 @@ set_target_properties(firmware PROPERTIES PREFIX "" SUFFIX ".elf") # # target_compile_options(firmware PRIVATE - -Wall - -Wextra - -Wpedantic + -Wall -Wextra -Wpedantic -pedantic-errors -Werror=return-type -Wdouble-promotion -Wmissing-declarations -Werror=float-conversion - $<$:-Werror=implicit-function-declaration> $<$:-Werror=strict-prototypes> - $<$:-Werror=incompatible-pointer-types> - $<$:-Werror=implicit-int> - $<$:-Werror=int-conversion> ) target_link_libraries(firmware PUBLIC