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:
[email protected]


With regards,
Apache Git Services

Reply via email to