cmake enable -Wcast-align and disable per module

This commit is contained in:
Daniel Agar
2019-03-16 11:47:15 -04:00
parent 13dba60149
commit b35d048566
68 changed files with 129 additions and 65 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ px4_add_module(
MAIN bl_update
STACK_MAIN 4096
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
SRCS
bl_update.c
DEPENDS
)
@@ -35,6 +35,7 @@ px4_add_module(
MAIN hardfault_log
STACK_MAIN 2100
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
SRCS
hardfault_log.c
DEPENDS