Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
After removing all my hair and eating my nails I finally found that my structures attributes wrong addresses came from a #pragma pack that was not closed in include/Drivers/hidddriversconfig.h:31
I have a non-packed structure and I noticed that it was packed in some files and after some searches it turned out that I was including this file and in this file one pack pragma is indeed not closed causing all file including it to have packed structures.