mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
NuttX and apps update 7.29
This commit is contained in:
@@ -89,7 +89,7 @@ ifeq ($(CONFIG_ARMV7M_STACKCHECK),y)
|
||||
endif
|
||||
|
||||
CFLAGS = $(ARCHINCLUDES) \
|
||||
-std=gnu99 \
|
||||
-std=gnu11 \
|
||||
${CMAKE_C_FLAGS} \
|
||||
$(FLAGS) \
|
||||
-Wno-bad-function-cast \
|
||||
|
||||
Submodule platforms/nuttx/NuttX/apps updated: 7db2a352fb...13eeff0ec3
Submodule platforms/nuttx/NuttX/nuttx updated: 423371c7d4...b3a14ceb4e
@@ -66,9 +66,6 @@ function(px4_os_add_flags)
|
||||
${PX4_BINARY_DIR}/NuttX/apps/include
|
||||
)
|
||||
|
||||
# NuttX's disables inline below C99 (comiler.h), but __STDC_VERSION__ isn't set for C++
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-D__STDC_VERSION__=199901L>)
|
||||
|
||||
# prevent using the toolchain's std c++ library
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user