<?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>Passing argument Waring</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44090/passing-argument-waring</link><description>HI, 
 I am working on NRF52832 SOC. with SDK 15. where i need to read the SENSOR data from twi protocol. 
 Common Write and Read Register function has been created 
 
 
 I receive some warnings like IMPLICIT DECLARATION, INCOMPATIBLE POINTERS 
 Write_register</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Feb 2019 11:29:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44090/passing-argument-waring" /><item><title>RE: Passing argument Waring</title><link>https://devzone.nordicsemi.com/thread/172726?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 11:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cdfd179-74bd-480f-a216-57ce0dd112df</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The important thing when dealing with compiler diagnostics (errors &amp;amp; warning) is always to &lt;strong&gt;address the earliest message &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;first&lt;/em&gt;&lt;/span&gt;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is because later messages&amp;nbsp;are often a direct result of the earlier problems - so fixing the earliest will also fix all of those!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The &amp;#39;C&amp;#39; programming language requires that everything must be declared &lt;em&gt;&lt;strong&gt;before&lt;/strong&gt; &lt;/em&gt;it is used.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t explicitly provide a declaration, the compiler may assume a default - or &lt;em&gt;&amp;quot;implicit&amp;quot;&lt;/em&gt; - declaration.&lt;/p&gt;
&lt;p&gt;The first warning is telling you that this has happened!&lt;/p&gt;
&lt;p&gt;The subsequent warnings may well be because the compiler&amp;#39;s&amp;nbsp;&lt;em&gt;&amp;quot;implicit&amp;quot;&lt;/em&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;declaration does not match what you actually want - so fix this problem first.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note that all of this is standard &amp;#39;C&amp;#39; stuff - nothing specifically to do with Nordic or Segger Embedded Studio.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>