Fix error: unknown warning option '-Wno-unqualified-std-cast-call'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-09-19 22:04:24 +08:00 committed by Petro Karashchenko
parent 65e2a68e48
commit 381c7dd747

View File

@ -115,16 +115,6 @@ 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 += $(wildcard libcxx/src/*.cpp)
CPPSRCS += $(wildcard libcxx/src/experimental/*.cpp)
CPPSRCS += $(wildcard libcxx/src/filesystem/*.cpp)