I would like your advise in the following matter:
I am working with Linux and I tryed to use "pragma pack" command but with no
Is there something equivalent to "pragma pack" command as it is used in
Visual Studio that can be used in Linux gcc compiler?
#pragma pack (push ,1)
#pragma pack (pop)
What I want to achieve is 1 byte alignment for the members of a C structure.
Is there another way for doing this?
Thank you in advance for your time!