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 2022/08/24 04:30:22 UTC

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6908: arch/sim/wchar_t: fix visual studio Compiler Error C2371

anchao opened a new pull request, #6908:
URL: https://github.com/apache/incubator-nuttx/pull/6908

   ## Summary
   
   arch/sim/wchar_t: fix visual studio Compiler Error C2371
   
   type of 'wchar_t' confilt with vcruntime:
   
   ```
   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\vcruntime.h(228,28):
     error C2371: 'wchar_t': redefinition; different basic types
   D:\code\incubator-nuttx\include\sys/types.h(174): message : see declaration of 'wchar_t'
   ```
   
   typedef wchar_t as unsigned char to compatible with vcrtuntime
   
   Signed-off-by: chao.an <an...@xiaomi.com>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   virtual studio + cmake


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


[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6908: arch/sim/wchar_t: fix visual studio Compiler Error C2371

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #6908:
URL: https://github.com/apache/incubator-nuttx/pull/6908


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