Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

NIOS2 gcc compiler pragma for structure alignment

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?