cancel
Showing results for 
Search instead for 
Did you mean: 

stemwmin and IAR8.20

Alex Golubev
Associate II
Posted on May 04, 2018 at 02:51

I use in my application the stemwin (STemWin540_CM4_OS_IAR.a) with IAR compiler. Up to version 7.8 of the IAR compiler I never had any warning or error during the build of the project.

Upgrading the IAR IDE to version 8.20 I have this error:

'Warning[Lt009]: Inconsistent wchar_t size 

STemWin540_CM4_OS_IAR.a has wchar_t size 16 bits '

IAR Information Center for ARM need needs to be rebuilded the stemwin library with new version of the compiler to avoid unpredictable issues.

How I can solve this issue?

Thanks 

2 REPLIES 2
Posted on May 04, 2018 at 03:08

>>Up to version 7.8 of the IAR compiler I never had any warning or error during the build of the project.

Of course not, and then someone at IAR decided to widen wchar with no option to select the older width for compatibility. Work of geniuses...

Someone from ST would need to rebuild or refresh the IAR binary releases for old/new versions of the tool chain.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Imen.D
ST Employee
Posted on May 17, 2018 at 10:14

Hello,

Currently, the STemWin binary is not compatible with  IAR (

8.xx 

version).

We have already passed this issue along to our development team.

The new STemWin binaries supporting IAR 8.xx will be provided with the next release of Cube firmware packages.

So, please keep an eye out for the next update of your Cube package !

Sorry for the inconvenience it may bring to you. 

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen