PengZheng opened a new pull request #404:
URL: https://github.com/apache/celix/pull/404


   Build assertion add by myself triggered when cross-building for some 32-bit 
ARM SOCs:
   
   ```
   
/data1/zhengpeng/.conan/data/celix/2.2.3/zhengpeng/testing/build/da240cb99c76219749ba20006c5c321d1fa57aeb/libs/utils/src/array_list.c:
 In function ‘celix_arrayList_defaultEquals’:
   
/data1/zhengpeng/.conan/data/celix/2.2.3/zhengpeng/testing/build/da240cb99c76219749ba20006c5c321d1fa57aeb/libs/utils/src/array_list.c:64:5:
 error: size of unnamed array is negative
        CELIX_BUILD_ASSERT(sizeof(a.voidPtrVal) == sizeof(a));
        ^~~~~~~~~~~~~~~~~~
   ```
   
   On such platforms, sizeof(double) > sizeof(void *). An immediate fix and 
some optimizations are applied.


-- 
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: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to