I have never seen this happen in C++. Maybe force GET_MAXTICKS to output 300?

Otherwise, check to see if there's any problems with your build process/options. Check your struct alignment (1 byte).