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/01 07:01:29 UTC

[GitHub] [incubator-nuttx] Aaron-Rumpler opened a new pull request #4926: tools/rp2040: Compile with C++14

Aaron-Rumpler opened a new pull request #4926:
URL: https://github.com/apache/incubator-nuttx/pull/4926


   ## Summary
   `tools/rp2040` needs to be compiled with at least C++11 (`CMakeLists.txt` from version 1.1.2 of the SDK uses C++14), but the makefile doesn't specify a version. On macOS, `clang` from the Command Line Tools defaults to an earlier version of C++, which causes the compilation to fail. This changes the makefile to specify `-std=c++14`, which lets the build succeed on macOS. I've also fixed a typo in `README.md` under the 'Using macOS' section.
   
   ## Impact
   - Building for Raspberry Pi Pico on macOS succeeds
   - Typo in 'Using macOS' section of `README.md` is fixed
   
   ## Testing
   Compiling for Raspberry Pi Pico now works on my macOS 12.0.1 machine, whereas it didn't before.
   
   


-- 
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 #4926: tools/rp2040: Compile with C++14

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


   


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