libs/libxx/libcxx: fix CI compilation issue reported on MACOS

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-09-18 17:06:58 +03:00 committed by Xiang Xiao
parent 5026a96cfa
commit 587f01a5e2

View file

@ -121,6 +121,16 @@ endif
# ~~~~~~~~~~^~~~~~~~~~~~
libcxx/src/condition_variable.cpp_CXXFLAGS += -Wno-sign-compare
# The following warning was observed with sim:libcxxtest compiled with
# Apple clang version 14.0.3 (clang-1403.0.22.14.1)
#
# ...
# libcxx/src/filesystem/directory_iterator.cpp:189:57: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
# __root_(move(other.__root_)),
# ^
# std::
libcxx/src/filesystem/directory_iterator.cpp_CXXFLAGS += -Wno-unqualified-std-cast-call
CPPSRCS += $(notdir $(wildcard libcxx/src/*.cpp))
CPPSRCS += $(notdir $(wildcard libcxx/src/experimental/*.cpp))
CPPSRCS += $(notdir $(wildcard libcxx/src/filesystem/*.cpp))