This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: F021 library incompatible with IAR C compiler

Part Number: TMS570LC4357

The F021 library is using 16 bit wchar_t.

IAR has (correctly) moved wchar_t from 16 bit to 32 bit, because this is what needs to be done to support UniCode characters.
A 16 bit wchar_t does not support UniCode, only UTF-16.
This makes the library incompatible with the IAR C compiler.

The proposed workaround to use an older IAR version is a non-flyer.
The Hercules series of Microcontrollers is intended for Secure applications.
These in many cases, including our case, requires CERTIFIED compilers.
We cannot choose just about any version of the compiler.

We are limited to the 8.22.3 version of EWARM.

Using the library, ignoring the warning, appears not to work.

Any user of your parts, which has high security requirements will be in the same situation.