yamt commented on a change in pull request #2597:
URL: https://github.com/apache/incubator-nuttx/pull/2597#discussion_r548776307



##########
File path: libs/libxx/libcxx.defs
##########
@@ -58,6 +58,18 @@ CXXFLAGS += ${shell $(DEFINE) "$(CC)" 
_LIBCPP_BUILDING_LIBRARY}
 libcxx/src/barrier.cpp_CXXFLAGS += -Wno-shadow
 libcxx/src/locale.cpp_CXXFLAGS += -Wno-shadow
 
+# Workaround the following warning with "c++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0"
+# For files including filesyste_common.h.
+#
+# libcxx/src/filesystem/filesystem_common.h:200:27: error: declaration 'struct 
timespec' does not declare anything [-Werror]
+#   200 | using TimeSpec = struct ::timespec;
+#       |                           ^~~~~~~~
+# libcxx/src/filesystem/filesystem_common.h:201:24: error: declaration 'struct 
stat' does not declare anything [-Werror]
+#   201 | using StatT = struct ::stat;
+#       |                        ^~~~
+libcxx/src/filesystem/directory_iterator.cpp_CXXFLAGS += -Wno-shadow -Wno-error

Review comment:
       i removed unnecessary -Wno-error




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to