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/10/15 10:01:35 UTC

[GitHub] [mynewt-core] mehulhirpara opened a new issue #2040: Build failure due to implicit declaration of 'static_assert'

mehulhirpara opened a new issue #2040: Build failure due to implicit declaration of 'static_assert'
URL: https://github.com/apache/mynewt-core/issues/2040
 
 
   Unable to build blemesh_light target on latest code (0-dev).
   
   **Compilation Error**
   `
   Error: repos/apache-mynewt-core/kernel/os/src/os_mempool.c: In function 'os_memblock_from':
   repos/apache-mynewt-core/kernel/os/src/os_mempool.c:308:5: error: implicit declaration of function 'static_assert' [-Werror=implicit-function-declaration]
        static_assert(sizeof block_addr == sizeof baddr32,
        ^
   cc1: all warnings being treated as errors
   `
   
   
   **Target YML:**
   `
   target.app: "@apache-mynewt-nimble/apps/blemesh_light"
   target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
   target.build_profile: debug
   `
   
   **Syscfg YML:**
   `
   syscfg.vals:
       BLE_MESH_DEV_UUID: "(uint8_t[16]){0x22, 0x20, 0}"
       BLE_MESH_PB_GATT: 1
   `
   
   **Package YML:**
   `
   pkg.name: targets/blemesh_light
   pkg.type: target
   pkg.description: 
   pkg.author: 
   pkg.homepage: 
   `

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