<?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>C++ changes required after changing main.c to main.cpp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33440/c-changes-required-after-changing-main-c-to-main-cpp</link><description>It&amp;#39;d be great if the Nordic nRF5 SDK team had a bit more time to test the code under C++, to shake out a few smaller issues. 
 Here are some changes that needed to be made, to fix compiler warnings and errors when changing the ble_app_hrs_freertos_pca10040_s132</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Apr 2018 08:44:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33440/c-changes-required-after-changing-main-c-to-main-cpp" /><item><title>RE: C++ changes required after changing main.c to main.cpp</title><link>https://devzone.nordicsemi.com/thread/128748?ContentTypeID=1</link><pubDate>Wed, 18 Apr 2018 08:44:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38b89ae1-f5af-4a48-b71e-53a0272b5229</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SDK team are aware of your concerns and suggestions. I can&amp;#39;t make any promises as to changes in future SDKs but we very much appreciate your feedback.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C++ changes required after changing main.c to main.cpp</title><link>https://devzone.nordicsemi.com/thread/128741?ContentTypeID=1</link><pubDate>Wed, 18 Apr 2018 08:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b07ba691-0171-492d-9b5a-e2f6f83732eb</guid><dc:creator>maxv</dc:creator><description>&lt;p&gt;At least for those of us who are building certain parts using C++, I would hope that the headers and plain C implementations from Nordic can compile without too many warnings.&lt;/p&gt;
&lt;p&gt;The lack of full C++ support is, for me, a bit a disappointing though, because instead of properly using the compiler to instantiate&amp;nbsp;hardware driver instances, I see way too much preprocessor magic in the SDK, which neither Eclipse, nor NetBeans, nor Segger Embedded Studio can really understand.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;actually get a bit more exhausted working with your SDK every time I see another parameterized #define macro.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C++ changes required after changing main.c to main.cpp</title><link>https://devzone.nordicsemi.com/thread/128444?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 11:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60720929-89e0-4142-b00e-9f5154551073</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for providing the details. As far as I know we do not officially support the C++ language and therefore resources are directed elsewhere. However, I will forward your details and ideas to the SDK team.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>