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 2019/04/11 19:01:50 UTC

[GitHub] [mynewt-core] OTLabs opened a new issue #1761: Unable to compile rbnano2_boot

OTLabs opened a new issue #1761: Unable to compile rbnano2_boot
URL: https://github.com/apache/mynewt-core/issues/1761
 
 
   Compiling rbnano2_boot with newt 1.6.0 on MSYS2 I get following error message:
   
   ```
   user@workstation ~/dev/myproj
   $ newt build rbnano2_boot
   Building target targets/rbnano2_boot
   Compiling repos/apache-mynewt-core/sys/flash_map/src/flash_map.c
   Compiling repos/apache-mynewt-core/util/rwlock/src/rwlock.c
   Compiling repos/apache-mynewt-core/sys/mfg/src/mfg.c
   Error: repos/apache-mynewt-core/util/rwlock/src/rwlock.c: In function 'rwlock_init':
   repos/apache-mynewt-core/util/rwlock/src/rwlock.c:195:21: error: missing braces around initializer [-Werror=missing-braces]
        *lock = (struct rwlock) { 0 };
                        ^
   repos/apache-mynewt-core/util/rwlock/src/rwlock.c:195:21: error: (near initialization for '(anonymous).mtx') [-Werror=missing-braces]
   cc1.exe: all warnings being treated as errors
   ```

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


With regards,
Apache Git Services