<?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>Compiler error for 802.15.4 CPUNET with SDK 2.6.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113757/compiler-error-for-802-15-4-cpunet-with-sdk-2-6-1</link><description>nRF5340 SDK 2.6.1 
 I am migrating a project (based on coap_client) from NCS 2.4.1 to NCS 2.6.1, and I get a compiler error: 
 
 The offending code is this: 
 
 If I open this file, right click on &amp;#39;result&amp;#39; and choose &amp;quot;Go to definition&amp;quot;, it takes me to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Aug 2024 09:07:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113757/compiler-error-for-802-15-4-cpunet-with-sdk-2-6-1" /><item><title>RE: Compiler error for 802.15.4 CPUNET with SDK 2.6.1</title><link>https://devzone.nordicsemi.com/thread/497452?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 09:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7efeea2d-6cde-4357-bbc8-cc6d1954548c</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Thank you for reporting that. Yes, as Jorg Fischer said, it is a bug that has been reported to development team and is fixed on the current main:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/main/nrf_802154/serialization/src/nrf_802154_spinel_net.c#L135"&gt;sdk-nrfxlib/nrf_802154/serialization/src/nrf_802154_spinel_net.c at main · nrfconnect/sdk-nrfxlib (github.com)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiler error for 802.15.4 CPUNET with SDK 2.6.1</title><link>https://devzone.nordicsemi.com/thread/497412?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 06:06:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66d4bae-7fdd-4009-a2f5-d193b3bdc6c1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Clearly a bug in line 135 - its a botched copy pasta job. Just compare this line to others in the functions above and below.&lt;/p&gt;
&lt;p&gt;Note that this means the whole code file was not compiled / tested by Nordic for a while - I can see this bug in at least 2.6.0, too.&lt;/p&gt;
&lt;p&gt;The CmakeLists.txt (in parent dir) only compiles this file under a condition that I don&amp;#39;t have time to follow up right now. (Note: Not a NordicSemi employee here!)&lt;/p&gt;
&lt;p&gt;One fix that I can think of would be &lt;code&gt;NRF_802154_SPINEL_LOG_VAR(&amp;quot;%p&amp;quot;, p_result);&lt;/code&gt; since its just a logging printout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>