Altera_Forum
Honored Contributor
15 years agoShort Enum Type (16Bits)
Hi,
In Altera NiosII Eclipse compiler, the enum type is defualt to 4 bytes in size. Is there any# pragma or compiler control that force the enum type size to 2 bytes? If not, is there any way to define an enum type as 2 bytes data type in altera? Thank you, oneplusone