<?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>cmsis_gcc.h compilation error if &amp;quot;nrf.h&amp;quot; is included from c++ file.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64058/cmsis_gcc-h-compilation-error-if-nrf-h-is-included-from-c-file</link><description>Hello I know that C++ is not officially supported but I wonder whether somebody else had the same problem. I can compile an example project with gcc (mingw32-make) and compilation is successful if I just add a c++ file to the list of source file in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Feb 2022 09:13:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64058/cmsis_gcc-h-compilation-error-if-nrf-h-is-included-from-c-file" /><item><title>RE: cmsis_gcc.h compilation error if "nrf.h" is included from c++ file.</title><link>https://devzone.nordicsemi.com/thread/354494?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 09:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb70a49d-c068-44b6-9535-9e0d673c8d28</guid><dc:creator>Stefano1984</dc:creator><description>&lt;p&gt;Hi AntonL,&lt;/p&gt;
&lt;p&gt;I have the same problem. I use Segger Embedded Studio for ARM. Where should I put the command?&lt;br /&gt;I tried to put in the &amp;quot;Makefile&amp;quot; file but it doesn&amp;#39;t work.&lt;br /&gt;It seems my project doesn&amp;#39;t use that file. In fact I tried to delete it and the project compiles anyway.&lt;br /&gt;Can you help me?&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cmsis_gcc.h compilation error if "nrf.h" is included from c++ file.</title><link>https://devzone.nordicsemi.com/thread/261263?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 18:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adac147c-de68-4fb4-a1b1-c376ea300623</guid><dc:creator>AntonL</dc:creator><description>&lt;p&gt;I always find solution right after I post a message.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So if I add&amp;nbsp;CXXFLAGS += -std=c++14 to the makefile the project successfully compiles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>