You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by "PengZheng (via GitHub)" <gi...@apache.org> on 2023/03/02 12:59:12 UTC

[GitHub] [celix] PengZheng commented on issue #232: test_dfi fails when optimizing

PengZheng commented on issue #232:
URL: https://github.com/apache/celix/issues/232#issuecomment-1451829207

   Zhenbao reproduced it successfully, and will make a PR fixing this.
   
   The root cause is that according to `man ffi_call`
   
   ```
   rvalue must point to storage that is sizeof(ffi_arg) or larger for non-floating point types. For smaller-sized return value types, the ffi_arg or ffi_sarg integral type must be used to hold the return value.
   ```


-- 
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-unsubscribe@celix.apache.org

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