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 2021/12/09 06:10:12 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4754: Revert "sim: Specify -fshort-wchar as NuttX wchar_t is 16-bit"

xiaoxiang781216 commented on a change in pull request #4754:
URL: https://github.com/apache/incubator-nuttx/pull/4754#discussion_r765458294



##########
File path: include/sys/types.h
##########
@@ -161,13 +161,13 @@ typedef int16_t      key_t;
 typedef intptr_t     ptrdiff_t;
 
 #if !defined(__cplusplus)
-/* Wide, 16-bit character types.  wchar_t is a built-in type in C++ and
+/* Wide character types.  wchar_t is a built-in type in C++ and
  * its declaration here may cause compilation errors on some compilers.
  *
  * REVISIT: wchar_t belongs in stddef.h
  */
 
-typedef uint16_t     wchar_t;
+typedef int          wchar_t;

Review comment:
       Done.




-- 
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-unsubscribe@nuttx.apache.org

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