Compiler Switches
Posted: Tue Sep 03, 2019 7:47 am
Beginning with v2.8.8 and up of the NB Tools, the compiler switch -malign-int was enabled by default for the C Compiler while it was left disabled for the C++ compiler. Since my application is a combination of C and C++ files, this caused my program to crash on boot-up. It took a couple of weeks to figure it out.