<?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>The Keil shows an  error when  #include &amp;quot;nrf_delay.h&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/710/the-keil-shows-an-error-when-include-nrf_delay-h</link><description>Hi,
The Keil MDK shows an error when I open a example project from nrfSDK.
but there is no error when compile. 
 Could someone please clarify.
Thank you .</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Jun 2018 22:47:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/710/the-keil-shows-an-error-when-include-nrf_delay-h" /><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/134417?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 22:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78d2241-17b7-46d4-8145-d936cef20031</guid><dc:creator>kdubovenko</dc:creator><description>&lt;p&gt;The solution for this is to edit the Keil UVCC.ini file as described &lt;a href="http://www.keil.com/support/docs/3787.htm"&gt;here&lt;/a&gt;. This will allow the compiler to ignore the &amp;quot;error&amp;quot; and you won&amp;#39;t get the annoying red X next to the headers.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/3614?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2016 22:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21a14433-8b67-4665-8845-5ffae429409c</guid><dc:creator>Chris Pearson</dc:creator><description>&lt;p&gt;That is true. However, a professor of user interface design theory would be screaming about this kind of thing. :-) A modern IDE should be presenting the developer with a easier workload and an accurate representation of the current state of the code.&lt;/p&gt;
&lt;p&gt;In some ways this reminds me of not fixing compile warnings. Sure, your code may work, but there may be a real problem hiding in that stream of warnings. If you can&amp;#39;t trust your IDE to accurately display if a problem is real or not, potentially you&amp;#39;ll miss actual problems in your code that the compiler is trying to warn you about.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/3612?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 10:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:364b0cd1-ed72-4fb5-8a82-5bb89b822b3d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I actually talked to Keil/ARM about this at a embedded conference. This is a restriction in their autocompletion tool, where it does not properly parse function implementations in header files. It shall not have any effect on your compilation, but it is annoying to see from a user-perspective.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/3613?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 08:48:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35f86a69-951f-4482-80d0-f8994337e937</guid><dc:creator>Chris Pearson</dc:creator><description>&lt;p&gt;Three years later and this problem is still there. :-(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/3611?ContentTypeID=1</link><pubDate>Sat, 24 Jan 2015 07:32:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cbc9df3-ae89-4e57-9855-308d81ab4c8e</guid><dc:creator>Madhuri</dc:creator><description>&lt;p&gt;I agree. I was facing the same issue a few days ago until i realized that is was more for cosmetic reasons than syntactical.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/3610?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2013 14:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c66994c1-71c9-4d25-8aa5-0d3c1d77651e</guid><dc:creator>Marc Nicholas</dc:creator><description>&lt;p&gt;I&amp;#39;ve also gotten the same error since I ugpraded Keil a little while ago.&lt;/p&gt;
&lt;p&gt;None of my code is anymore broken than normal, so also confirm it&amp;#39;s more of a cosmetic issue ;)&lt;/p&gt;
&lt;p&gt;-m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Keil shows an  error when  #include "nrf_delay.h"</title><link>https://devzone.nordicsemi.com/thread/3609?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2013 13:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5d7fbad-3e95-422b-9b2e-0901430c7a73</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have the same thing at my computer.&lt;/p&gt;
&lt;p&gt;It seems that this is an issue with the code-completion feature in Keil.
The code-completion option does some parsing of the file and it&amp;#39;s included headers, and seem to miss this declaration somehow.&lt;/p&gt;
&lt;p&gt;As you point out, there&amp;#39;s no compiler-error, so it&amp;#39;s safe to ignore.&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>