Hello,
I've been working on a project with the TM4C123 and have been compiling with TI ARM compiler v5.1.x for over a year. Our code includes a few 3rd-party libraries and as soon as I attempt to compile the project using v5.2.x, I get multiple errors. I could not find detailed notes as to what changed in v5.2.x or if it's really even necessary for us to upgrade. One example that is now generating an error in a 3rd-party library is:
charset=*(*x)++;
Where x is defined as:
unsigned char *(*x);
This is what is displayed to the console when building:
INTERNAL ERROR: Decomposition error
This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
I commented this line out just to see if this was the only problem, but I then got a build error for a static variable that was declared but never used. I would expect this to be a warning and not prevent me from building the project at all.
Whey are these lines only generating errors in v5.2.x? Is there some compile option that I should be enabling that's preventing compatibility with this code?