Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#pragma pack

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.