Closed xieyuschen closed 1 month ago
closed it as it could be solved by adding #[repr(C)]
. i'm trying to understand whether we have a way to force users add it for their structures. Thanks again, i have missed this part before.
@xieyuschen we are planning to have a proc macro which would add #[repr(C)]
or at least check for it. It would also implement a trait if it can ensure the the type is shared memory compatible.
see https://github.com/eclipse-iceoryx/iceoryx2/pull/440, you can run :
I use linux when I devloped the iceoryx2.
I think something goes wrong during retrieve the payload pointer. I will delve it on Monday and just reported it first. It's found when I tried to add some test cases in #439 so I have separated the normal test and the abnormal in different PRs.
I got the failure: listed below: