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:
cuiziwei 2024-10-21 17:10:04 +08:00 committed by Mateusz Szafoni
parent c8d683ce7a
commit 35c278b716
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)