mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
libs:cxx.defs: bypass -Wno-missing-exception-spec flag in xcc
Xtensa-toolchain do not recognize -Wno-missing-exception-spec flags
This commit is contained in:
+4
-2
@@ -31,5 +31,7 @@ CXXSRCS += libxx_stdthrow.cxx
|
||||
# FAR void *operator new(std::size_t nbytes)
|
||||
# ^
|
||||
# throw(std::bad_alloc)
|
||||
libxx_new.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
libxx_newa.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
ifneq ($(CONFIG_XTENSA_TOOLCHAIN_XCC), y)
|
||||
libxx_new.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
libxx_newa.cxx_CXXFLAGS += -Wno-missing-exception-spec
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user