Hello.
I am using compiler IAR for ARM 7.20 and trying to build example application "STM32F4_MD6".
In the process of linking the project next warning appears:
"Warning [Lt009]: Inconsistent wchar_t size"
I would like to know whether it is possible to rebuild libmpllib.a with the size of wchar_t = 16bit or some way to specify IAR use wchar_t = 32bit?
Thanks in advance.
- Log in to post comments
phpbb Topic ID
16581
Re: Re: IAR EWARM wchar_t
Do you have any update on this issue? I also encounter the issue with IAR 7.10 for cortex-M4.
Thanks.
Re: Re: IAR EWARM wchar_t
Certain compilers specify that a wchar should be 32-bits, Kiel however wants it to be 16-bits. IAR just has a warning on this and Code Composer the error can be suppressed. This should not be a blocker.
Re: Re: IAR EWARM wchar_t
I have the same problem. IAR ARM 7.10
How I can remove this warning? (without direct disable warning, using warning code)
It is important for me I need get rid of warning.
Re: Re: IAR EWARM wchar_t
Support team, you will can answer, why you use 32bit w_char?
Thanks for your reply.
Re: Re: IAR EWARM wchar_t
You can override the typedefs by defining your own typedefs.
Re: Re: IAR EWARM wchar_t
@sectionsbest wrote:
dont work.
Сan You provide your solution?