<?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>NRF5 SDK12: CLOCK_ENABLED redefined</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29778/nrf5-sdk12-clock_enabled-redefined</link><description>I ran into the following issue: CLOCK_ENABLED is defined in sdk_config.h by Nordic, but is is also defined in &amp;lt;time.h&amp;gt;. 
 Can someone confirm? 
 Tnx,
DIrk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Mar 2018 10:45:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29778/nrf5-sdk12-clock_enabled-redefined" /><item><title>RE: NRF5 SDK12: CLOCK_ENABLED redefined</title><link>https://devzone.nordicsemi.com/thread/125131?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 10:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47701a0b-7eaf-4b29-a2a1-1436956b2d8d</guid><dc:creator>raccoon</dc:creator><description>&lt;p&gt;Sorted, thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5 SDK12: CLOCK_ENABLED redefined</title><link>https://devzone.nordicsemi.com/thread/120117?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 13:28:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3d62da4-44a4-4d91-8df5-f091515115a9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created an internal bug on this matter. As of now, I do not have a good workaround for you. Since you use GCC, you try to add a pragma around the defintion in sdk_config.h?&lt;/p&gt;
&lt;p&gt;More info on GCC pragmas here:&amp;nbsp;&lt;a href="https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html"&gt;https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5 SDK12: CLOCK_ENABLED redefined</title><link>https://devzone.nordicsemi.com/thread/118077?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 09:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75fdce9a-8675-494a-be15-262e219f59f1</guid><dc:creator>raccoon</dc:creator><description>&lt;p&gt;I can also confirm the same compilation issue in version 11 of the SDK, when compiling in gcc with the -Werror flag.&lt;/p&gt;
&lt;p&gt;What would be the correct workaround?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5 SDK12: CLOCK_ENABLED redefined</title><link>https://devzone.nordicsemi.com/thread/118076?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 23:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf06df6-56cf-438f-82a3-4677ce7fa489</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Appears to be true - yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>