You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/05/04 21:19:02 UTC

[GitHub] [mynewt-newt] ccollins476ad commented on issue #398: Not able to build newt example project on OS X

ccollins476ad commented on issue #398:
URL: https://github.com/apache/mynewt-newt/issues/398#issuecomment-623711565


   Hi @NilsMinor ,
   
   It looks like your version of gcc is using an old C standard by default (older than C11).  This can be fixed by upgrading your version of gcc.  Note: newt does not use `gcc` when building that target, it uses `arm-none-eabi-gcc` (cross compiler).  You can check your gcc version with
   ```
   arm-none-eabi-gcc -v
   ```
   
   The recommended minimum gcc version for Mynewt is gcc 7.


----------------------------------------------------------------
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:
users@infra.apache.org