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.
Tool/software:
Dear TI Support,
We are currently working on a project with the RM48 microcontroller and while building our wrapper around the F021 Flash API library, we ecountered this warning when compiling.
Warning[Lt009]: Inconsistent wchar_t size
FlashStateMachine.EnableEepromSectors.obj(F021_API_CortexR4_LE_V3D16.lib) and 15 other objects in F021_API_CortexR4_LE_V3D16.lib have wchar_t size 16 bits
adc.o and 99 other objects, some of them in dl7Sx_tln.a and 17 other libraries have wchar_t size 32 bits
The reason is probably because at some point IAR changed the wchar_t size from 16 to 32 bits. Our version is IAR 9.50.2.
The code works just fine but since we need to certify our codebase, compiler warnings are not allowed.
Are workarounds or a new version of the library available?
Thanks in advance.
Hi,
This issue was identified before, please refer below thread for solution:
--
Thanks & regards,
Jagadish.