Quantcast
Channel: MPLAB XC32
Viewing all articles
Browse latest Browse all 1537

Compiler allocates 1 Byte to enums, but MPLABX assumes 4 Bytes (int) (adown)

$
0
0
Hi, i'm trying to figure out why gcc is allocating 1 byte to the enums that hold my FSM states. Reading the documentation it seems like in the absences of the -fshort-enums command line option gcc should be creating an int (4 bytes) for each of my enums r..

Viewing all articles
Browse latest Browse all 1537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>