xiaoxiang781216 commented on a change in pull request #2064: URL: https://github.com/apache/incubator-nuttx/pull/2064#discussion_r514387086
########## File path: include/sys/types.h ########## @@ -188,6 +188,9 @@ typedef intptr_t ptrdiff_t; typedef uint16_t wchar_t; #endif +#if defined(__WCHAR_WIDTH__) && __WCHAR_WIDTH__ != 16 +#error __WCHAR_WIDTH__ should be 16 Review comment: So, should you split the check to another patch, maybe you can print the related option too. But why gcc complain __WCHAR_WIDTH__ not equal to 16 for arm? ---------------------------------------------------------------- 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