Thanks, submitted.
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/6185
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/6186
Øyvind
From: Soby Mathew <Soby.Mathew@arm.com>
Sent: Tuesday, October 6, 2020 11:27
To: Rønningstad, Øyvind <Oyvind.Ronningstad@nordicsemi.no>
Cc: tf-m@lists.trustedfirmware.org
Subject: RE: -fshort-wchar
Hi Øyvind
Yes, you are right, we don’t use wchar_t within TF-M and it does seem a trivial optimization without much benefit for TF-M other than introducing incompatibilities. Could you submit a patch to remove the same from GCC
and ARMCLANG ?
Best Regards
Soby Mathew
From: TF-M <tf-m-bounces@lists.trustedfirmware.org>
On Behalf Of Rønningstad, Øyvind via TF-M
Sent: 05 October 2020 09:12
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] -fshort-wchar
Hi guys. I’m curious why -fshort-wchar is enabled for ARMCLANG and GNUARM (not IAR, interestingly). This should have little or no impact since wchar_t is so rarely used, and causes incompatibility when I try to link my Zephyr app with TF-M
libs.
Øyvind