Tool/software: TI C/C++ Compiler
I have a piece of code which compiles fine in CCS6 (compiler 6.4.12), but does not compile in CCS8 (compiler 18.1.5.LTS).
This throws an error:
__byte((int*)rtc_output_array,0xA+1) = 0;
__byte((int*)rtc_output_array,0xB+1) = 0;
__byte((int*)rtc_output_array,0xC+1) = 0;
__byte((int*)rtc_output_array,0xD+1) = 0;
__byte((int*)rtc_output_array,0xE+1) = 0; //line 612: error #19: extra text after expected end of number
But this compiles fine in CCS8:
__byte((int*)rtc_output_array,0xA+1) = 0;
__byte((int*)rtc_output_array,0xB+1) = 0;
__byte((int*)rtc_output_array,0xC+1) = 0;
__byte((int*)rtc_output_array,0xD+1) = 0;
__byte((int*)rtc_output_array,0xD+2) = 0;
Something about 0xE + a number does not seem to work in CCS8 using 18.1.5.LTS.