<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linker error Error[Lt009]: Inconsistent wchar_t size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27260/linker-error-error-lt009-inconsistent-wchar_t-size</link><description>Hi!
I have download nRF5_SDK_14.1.0, and I have IAR Embedded Workbench IDE ARM 8.20.1 
 I want compile ble_app_eddystone.eww from examples, but have error: 
 
 Error[Lt009]: Inconsistent wchar_t size
occ_lib_occ_curve25519.c.o(occ_lib_nrf52_iar.a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jan 2020 21:55:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27260/linker-error-error-lt009-inconsistent-wchar_t-size" /><item><title>RE: Linker error Error[Lt009]: Inconsistent wchar_t size</title><link>https://devzone.nordicsemi.com/thread/230178?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 21:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61a7363c-19d1-433f-9042-a51182f5fa9d</guid><dc:creator>Jack Porter</dc:creator><description>&lt;p&gt;Great, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error Error[Lt009]: Inconsistent wchar_t size</title><link>https://devzone.nordicsemi.com/thread/230177?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 21:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e8f830a-4aa1-4239-86cc-2be3f1755794</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/jack-porter"&gt;Jack Porter&lt;/a&gt;,&lt;/p&gt;
[quote user="Jack Porter"]Has this issue ever been resolved ?[/quote]
&lt;p&gt;&amp;nbsp;Yes. See the section &amp;quot;Note for IAR 8 users&amp;quot; found in the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/index.html?cp=7_1_0"&gt;Introduction for SDK 16&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error Error[Lt009]: Inconsistent wchar_t size</title><link>https://devzone.nordicsemi.com/thread/230168?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 19:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eda5c1f-0d93-4f6d-96aa-bdd029aed7d5</guid><dc:creator>Jack Porter</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m having the same problem in January 2020.&amp;nbsp; IAR 7 is not an option, my company uses IAR 8.&amp;nbsp; Has this issue ever been resolved ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error Error[Lt009]: Inconsistent wchar_t size</title><link>https://devzone.nordicsemi.com/thread/107635?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 10:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:603aedca-7272-4881-9d9e-3a3771ec6e02</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Is using IAR 7 an option for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker error Error[Lt009]: Inconsistent wchar_t size</title><link>https://devzone.nordicsemi.com/thread/107634?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 10:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ede67fe3-7239-43a4-ad2a-4b16aa3bc57e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;SDK 14.1 uses IAR Workbench 7.80.4 for testing and verification.  IAR 7.x uses 16 bit wchar_t, but IAR 8.x uses 32 bit wchar_t. More information about this from IAR can be found &lt;a href="http://netstorage.iar.com/SuppDB/Public/UPDINFO/012120/arm/doc/infocenter/iccarm.ENU.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The SDK contains precompiled libraries, some of which are not open, which are built using IAR 7 with the wchar_t size of 16 bits. Since IAR 8 uses wchar_t size of 32 bits, there is a mismatch between the precompiled libraries and the newly compiled project code, and the build fails. SDK 14.1 is therefore not fully compatible with IAR 8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>