You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/11 16:08:31 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #2283: sim: Add a config to test libcxx

xiaoxiang781216 commented on pull request #2283:
URL: https://github.com/apache/incubator-nuttx/pull/2283#issuecomment-725510941


   @yamt do you know how to fix this warning?
   ```
   In file included from libcxx/src/filesystem/directory_iterator.cpp:19:
   Error: libcxx/src/filesystem/filesystem_common.h:200:27: error: declaration 'struct timespec' does not declare anything [-Werror]
     200 | using TimeSpec = struct ::timespec;
         |                           ^~~~~~~~
   Error: libcxx/src/filesystem/filesystem_common.h:201:24: error: declaration 'struct stat' does not declare anything [-Werror]
     201 | using StatT = struct ::stat;
         |                        ^~~~
   cc1plus: all warnings being treated as errors
   make[1]: *** [Makefile:87: directory_iterator.o] Error 1
   In file included from libcxx/src/filesystem/operations.cpp:20:
   Error: libcxx/src/filesystem/filesystem_common.h:200:27: error: declaration 'struct timespec' does not declare anything [-Werror]
     200 | using TimeSpec = struct ::timespec;
         |                           ^~~~~~~~
   Error: libcxx/src/filesystem/filesystem_common.h:201:24: error: declaration 'struct stat' does not declare anything [-Werror]
     201 | using StatT = struct ::stat;
         |                        ^~~~
   ```


----------------------------------------------------------------
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:
users@infra.apache.org