This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Inconsistent wchar_t size

Hello,

I am compiling with encryption implemented for Bluetooth communications. Specifically with code taken from the ble_app_hrs_c example.

I am seeing this error:

Error[Lt009]: Inconsistent wchar_t size

I've seen some other posts that have talked about how using previous SDKs such as v14 and newer versions past v7 for IAR workbench will cause this error to occur, but I wanted to see if this was still the issue with v15.2 of the SDK.

If so, are there any work arounds for this beyond switching back to IAR v7. or would that be my only option for moving forward?

Thanks,

Mia

Related