From 381c7dd747d13b055b8e8c73162c72024c423396 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 19 Sep 2023 22:04:24 +0800 Subject: [PATCH] Fix error: unknown warning option '-Wno-unqualified-std-cast-call' Signed-off-by: Xiang Xiao --- libs/libxx/libcxx.defs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libs/libxx/libcxx.defs b/libs/libxx/libcxx.defs index b13a54ab6a..6a1fe640cd 100644 --- a/libs/libxx/libcxx.defs +++ b/libs/libxx/libcxx.defs @@ -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)