parameters: tinybson fill total document length for bson compatibility

This commit is contained in:
Daniel Agar
2021-04-09 20:58:03 -04:00
parent b9e0a16594
commit edc445a1b2
4 changed files with 76 additions and 38 deletions
+9 -13
View File
@@ -95,21 +95,17 @@ function(px4_add_common_flags)
# compiler specific flags
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang"))
# force color for clang (needed for clang + ccache)
add_compile_options(-fcolor-diagnostics)
# force absolute paths
add_compile_options(-fdiagnostics-absolute-paths)
add_compile_options(
-fcolor-diagnostics # force color for clang (needed for clang + ccache)
-fdiagnostics-absolute-paths # force absolute paths
# QuRT 6.4.X compiler identifies as Clang but does not support this option
if (NOT "${PX4_PLATFORM}" STREQUAL "qurt")
add_compile_options(
-Qunused-arguments
-Qunused-arguments
-Wno-unknown-warning-option
-Wno-unused-const-variable
-Wno-varargs
)
endif()
-Wno-c99-designator
-Wno-unknown-warning-option
-Wno-unused-const-variable
-Wno-varargs
)
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")