Tool/software: Code Composer Studio
Device: CC3200 servicepack_1.0.1.6-2.7.0.0
Compiler: Code Composer Studio Version: 6.2.0.00050
I just noticed that I am not getting a warning when an overflow occurs.
void main(void)
{
unsigned char a = 0;
unsigned short b = 65535;
a = b; <-- Overflow, but no warnings!
...
}
The only warning I get is: " #552-D variable "a" was set but never used."
a = 255.
I searched the console output to no avail.
Settings in "Project\Properties\Build\ARM Linker\Advanced Options\Diagnotics" -- All Clear
I thought I seen overflow warnings in the past. This clearly is an overflow, so what gives?
Thank you,
Chris.