Skip to main content
Alex Golubev
Associate III
May 4, 2018
Question

stemwmin and IAR8.20

  • May 4, 2018
  • 2 replies
  • 613 views
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 

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    May 4, 2018
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    ST Technical Moderator
    May 17, 2018
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks