<?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>Missing stdint.h</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14972/missing-stdint-h</link><description>Hello, 
 I am trying to remake an nrf52 project in Keil and ran into a problem regarding stdint.h. There is already an &amp;quot;include &amp;lt;stdint.h&amp;gt;&amp;quot; statement and Keil has not reported any errors regarding it missing that file; however, it does report errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Jul 2016 15:12:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14972/missing-stdint-h" /><item><title>RE: Missing stdint.h</title><link>https://devzone.nordicsemi.com/thread/57130?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 15:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e18e9d9-e24a-4577-85b9-7dfe4c3b630a</guid><dc:creator>Noel</dc:creator><description>&lt;p&gt;Thank you! I realized that I forgot to enter C99 Mode so that is exactly why it was  thinking it was an error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missing stdint.h</title><link>https://devzone.nordicsemi.com/thread/57129?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 10:46:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ca9af81-ee67-42b0-9de5-d1870d9625b6</guid><dc:creator>Eirik Midttun</dc:creator><description>&lt;p&gt;Actually the error is here (in bold): for (&lt;strong&gt;uint8_t i = 0&lt;/strong&gt;; i &amp;lt; 40; ++i). This is legal in C99, but &lt;em&gt;not&lt;/em&gt; in earlier versions. In C90 you need to write:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t i;
for (i = 0; i &amp;lt; 40; ++i)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or, as the compiler says &amp;quot;declaration may not appear after executable statement in block&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missing stdint.h</title><link>https://devzone.nordicsemi.com/thread/57128?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2016 20:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40ad393a-241c-40b6-b70e-f5f51e8bfcc3</guid><dc:creator>Noel</dc:creator><description>&lt;p&gt;I think I may have resolved this. My problem was that in the &amp;quot;Options for target&amp;quot; button, in the C/C__ tab, under optimization, I should have also checked off C99 Mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>