xiaoxiang781216 commented on code in PR #11301:
URL: https://github.com/apache/nuttx/pull/11301#discussion_r1415993035


##########
include/wchar.h:
##########
@@ -57,6 +57,8 @@
  * Reference: Opengroup.org
  */
 
+#define _LIBCPP_WCHAR_H

Review Comment:
   let's change the search order in:
   /home/xiaoxiang/vela/nuttx/tools/Config.mk
   there are many similar check:
   ```
   include/cctype:43:#   error <cctype> tried including <ctype.h> but didn't 
find libc++'s <ctype.h> header. \
   include/cstdint:149:#   error <cstdint> tried including <stdint.h> but 
didn't find libc++'s <stdint.h> header. \
   include/cstddef:46:#   error <cstddef> tried including <stddef.h> but didn't 
find libc++'s <stddef.h> header. \
   include/cwctype:59:#   error <cwctype> tried including <wctype.h> but didn't 
find libc++'s <wctype.h> header. \
   include/cstring:66:#   error <cstring> tried including <string.h> but didn't 
find libc++'s <string.h> header. \
   include/cmath:321:#   error <cmath> tried including <math.h> but didn't find 
libc++'s <math.h> header. \
   include/cfloat:78:#   error <cfloat> tried including <float.h> but didn't 
find libc++'s <float.h> header. \
   include/csetjmp:39:#   error <csetjmp> tried including <setjmp.h> but didn't 
find libc++'s <setjmp.h> header. \
   include/cstdio:104:#   error <cstdio> tried including <stdio.h> but didn't 
find libc++'s <stdio.h> header. \
   include/climits:46:#   error <climits> tried including <limits.h> but didn't 
find libc++'s <limits.h> header. \
   include/cstdlib:90:#   error <cstdlib> tried including <stdlib.h> but didn't 
find libc++'s <stdlib.h> header. \
   include/cwchar:117:#   error <cwchar> tried including <wchar.h> but didn't 
find libc++'s <wchar.h> header. \
   include/cerrno:31:#   error <cerrno> tried including <errno.h> but didn't 
find libc++'s <errno.h> header. \
   include/cinttypes:248:#   error <cinttypes> tried including <inttypes.h> but 
didn't find libc++'s <inttypes.h> header. \
   include/cfenv:61:#   error <cfenv> tried including <fenv.h> but didn't find 
libc++'s <fenv.h> header. \
   include/clocale:43:#   error <clocale> tried including <locale.h> but didn't 
find libc++'s <locale.h> header. \
   include/cuchar:45:#   error <cuchar> tried including <uchar.h> but didn't 
find libc++'s <uchar.h> header. \
   ```
   it's hard to fix all of them.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

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

Reply via email to