We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Does the realview arm compiler support the following syntax:
#pragma pack(push, 1) and #pragma pack(pop)
or do I need to separate it into
#pragma push #pragma pack(1) and #pragma pop
There are no compiler warnings given for the former, but I'm having some issues with unaligned memory accesses on some ported code.
Also what happens when you do
#pragma pack()
with no parameter, will it revert to the default (8)?