|
|
|
@ -89,6 +89,7 @@ function(px4_add_common_flags)
@@ -89,6 +89,7 @@ function(px4_add_common_flags)
|
|
|
|
|
-Wno-missing-field-initializers |
|
|
|
|
-Wno-missing-include-dirs # TODO: fix and enable |
|
|
|
|
-Wno-unused-parameter |
|
|
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# compiler specific flags |
|
|
|
@ -117,6 +118,10 @@ function(px4_add_common_flags)
@@ -117,6 +118,10 @@ function(px4_add_common_flags)
|
|
|
|
|
add_compile_options(-fdiagnostics-color=always) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.3) |
|
|
|
|
add_compile_options(-Wno-stringop-truncation) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
add_compile_options( |
|
|
|
|
-fno-builtin-printf |
|
|
|
|
-fno-strength-reduce |
|
|
|
|