[BUG] pragma pack not closed in hidddriversconfig.h

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_2112781
Level 4
Level 4
10 likes received 10 likes given 5 likes given

Hello,

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.


After closing it, the bug was fixed.



1 Reply
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

I'll check into this with the developers.  Thanks for reporting the issue.