libcxx: Ignore compile warnings.
nuttx/libs/libxx/libcxx/src/support/runtime/exception_pointer_unimplemented.ipp:17:4: warning: #warning exception_ptr not yet implemented [-Wcpp] 17 | # warning exception_ptr not yet implemented | ^~~~~~~ Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
parent
c8d683ce7a
commit
35c278b716
|
@ -106,7 +106,7 @@ if(NOT CONFIG_CXX_LOCALIZATION)
|
|||
endif()
|
||||
|
||||
set(FLAGS -Wno-attributes -Wno-deprecated-declarations -Wno-shadow
|
||||
-Wno-sign-compare)
|
||||
-Wno-sign-compare -Wno-cpp)
|
||||
|
||||
if(GCCVER GREATER_EQUAL 12)
|
||||
list(APPEND FLAGS -Wno-maybe-uninitialized -Wno-alloc-size-larger-than)
|
||||
|
|
|
@ -58,7 +58,7 @@ ifeq ($(CONFIG_LIBSUPCXX), y)
|
|||
CXXFLAGS += ${DEFINE_PREFIX}__GLIBCXX__
|
||||
endif
|
||||
|
||||
CXXFLAGS += -Wno-shadow -Wno-sign-compare
|
||||
CXXFLAGS += -Wno-shadow -Wno-sign-compare -Wno-cpp
|
||||
CXXFLAGS += -Wno-attributes -Wno-deprecated-declarations
|
||||
|
||||
ifeq ($(shell expr "$(GCCVER)" \>= 12), 1)
|
||||
|
|
Loading…
Reference in New Issue