minor build fixes and ignored warnings for GCC 9 (#14159)

- px4io task_main_trampoline add return
 - iridiumsbd main_loop_helper add return
 - drivers/uavcan ignore Wcast-align, Wdeprecated-copy, and Waddress-of-packed-member for now
 - flashparams ignore Wvla-larger-than
 - test_time fix printf type
This commit is contained in:
Matthias Grob
2020-04-02 10:24:36 -04:00
committed by GitHub
parent e9aba642fe
commit 2baa5ca4d7
7 changed files with 18 additions and 10 deletions
+5 -1
View File
@@ -71,7 +71,11 @@ add_definitions(
-DUAVCAN_PLATFORM=${UAVCAN_PLATFORM}
)
add_compile_options(-Wno-cast-align) # TODO: fix and enable
add_compile_options(
-Wno-cast-align # TODO: fix and enable
-Wno-deprecated-copy # TODO: fix
-Wno-address-of-packed-member
)
add_subdirectory(${LIBUAVCAN_DIR} libuavcan EXCLUDE_FROM_ALL)
add_dependencies(uavcan prebuild_targets)