Forum Discussion
1 Reply
- Altera_Forum
Honored Contributor
I would stick to attributes, they are more universally adhered to. Here are some examples of the usage: https://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/type-attributes.html
I've tried several variations of# pragma pack(push,1) but the compiler chokes on all of them.
Does anyone know the correct syntax? Or can this only be done with variable attributes?I would stick to attributes, they are more universally adhered to. Here are some examples of the usage: https://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/type-attributes.html