libcxx: -Wno-shadow for files including filesystem_common.h

This might be specific to gcc or Linux
as I didn't see it with clang + macOS.
This commit is contained in:
YAMAMOTO Takashi 2020-10-23 11:49:52 +09:00 committed by Xiang Xiao
parent 6481b774e4
commit b41524f0e6
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ CXXFLAGS += ${shell $(DEFINE) "$(CC)" _LIBCPP_BUILDING_LIBRARY}
libcxx/src/barrier.cpp_CXXFLAGS += -Wno-shadow
libcxx/src/locale.cpp_CXXFLAGS += -Wno-shadow
libcxx/src/filesystem/directory_iterator.cpp_CXXFLAGS += -Wno-shadow
libcxx/src/filesystem/operations.cpp_CXXFLAGS += -Wno-shadow
CPPSRCS += $(notdir $(wildcard libcxx/src/*.cpp))
CPPSRCS += $(notdir $(wildcard libcxx/src/experimental/*.cpp))
CPPSRCS += $(notdir $(wildcard libcxx/src/filesystem/*.cpp))