/
Linker Warning About wchar_t Size in IAR EWARM 8.x
Linker Warning About wchar_t Size in IAR EWARM 8.x
When building an On-Chip SDK project, you may see a warning like the following:
Warning[Lt009]: Inconsistent wchar_t size
assert.obj(libip_stack.a) and 239 other objects in 4 different libraries have wchar_t size 16 bits
gpio_app.o and 26 other objects, some of them in dl7M_tln.a and 8 other libraries have wchar_t size 32 bits
This occurs because the stack library was built using IAR 7.x, and the wchar_t size changed in IAR 8.x. The stack and On-Chip SDK applications do not use wchar_t so it is safe to ignore this warning.
You can suppress it in the project settings:
In Project->Options->Linker→Diagnostics, select Suppress these diagnostics and specify Lt009
For reference: IAR ARM C/C++ compiler Release Notes for 8.11
, multiple selections available,
Related content
Install IAR
Install IAR
More like this
Setting up the IAR_ARM_BASE Environment Variable
Setting up the IAR_ARM_BASE Environment Variable
More like this
Suppressed Diagnostic Messages
Suppressed Diagnostic Messages
More like this
CLI Task Memory
CLI Task Memory
More like this
Run the code (finally!)
Run the code (finally!)
More like this
REL-1.1.0 Migration Guide
REL-1.1.0 Migration Guide
More like this