<?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>SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58299/ses-compiling-blinky-with-gnu-11</link><description>Hi, 
 I&amp;#39;m trying to include a library written in C++ which requires at least GNU++11. Unfortunately if I switch the C++ compiler in SES I get the following error: 
 
 Is there a way to fix this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jun 2020 08:36:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58299/ses-compiling-blinky-with-gnu-11" /><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/257292?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 08:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7042f948-98a7-44a8-8607-f81ced2f1622</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;I&amp;#39;m currently doing a test project using c. STL library is really not complete, but it works.&lt;/p&gt;
&lt;p&gt;As I understand it, std and stl are different for the world of large PCs and for embedded systems. If only because in embedded systems there are much fewer resources. Therefore, porting is not possible directly, only with restrictions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The external compiler connects normally and also works successfully. I connected this &lt;a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads"&gt;GNU ARM 9-2020-q2&lt;/a&gt;&amp;nbsp;according to the instructions from&amp;nbsp;&amp;nbsp;&lt;a href="https://wiki.segger.com/Use_an_external_Toolchain_with_Embedded_Studio"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What I do wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/257229?ContentTypeID=1</link><pubDate>Sat, 27 Jun 2020 12:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:266f5ef0-eb7b-4627-86bc-da59656b6b80</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Looks like you don&amp;#39;t the inner of it. &amp;nbsp;SES It is a strip down version of CrossWorks. &amp;nbsp;The compiler installed with it is GCC with most of the C++ header removed. &amp;nbsp;GCC is a C++ compiler, but without the proper header files, you cannot compile C++ code. This is actually a CrossWorks issue not SES. &amp;nbsp; However, CrossWorks allows you to setup external full GCC. &amp;nbsp;Only this option allows you to compile C++. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/257227?ContentTypeID=1</link><pubDate>Sat, 27 Jun 2020 11:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cb4d575-83b3-4140-acc4-aa4f7fabc5f3</guid><dc:creator>CheMax</dc:creator><description>[quote userid="3482" url="~/f/nordic-q-a/58299/ses-compiling-blinky-with-gnu-11/236708"]SES does not support C++. It stripped out C++ support from GCC. [/quote]
&lt;p&gt;Do not mislead people. C ++ support is and is working properly. Here is a brief excerpt from the site:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Embedded Studio is a powerful C/C++ IDE (Integrated Development Environment)
for embedded systems. It is specifically designed to provide users with everything 
needed for professional embedded C programming and development: 
An all-in-one solution providing stability and a continuous workflow for any
development environment.

* Professional IDE solution for embedded C/C++ programming
* Cross-Platform: Runs on Windows, macOS, and Linux
* Clang/LLVM, and GCC C/C++ Compilers included&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/development-tools/embedded-studio/"&gt;here&lt;/a&gt; is the link to the original.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/236756?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 09:47:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b28ec10-f1a0-4c9c-86a2-dd417c3eac4b</guid><dc:creator>bernerj</dc:creator><description>&lt;p&gt;ah yes, thanks for clearing this up&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/236739?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 09:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261165ab-1af4-4c0d-a14e-08bce3b23765</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;This is from the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/overview/api_overview.html"&gt;softevice specifications&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;The SoftDevice&amp;nbsp;&lt;/span&gt;&lt;a title="A language and message format used by an application program to communicate with an operating system, application, or other service." href="https://infocenter.nordicsemi.com/topic/sds_s132/dita_common/glossary/glossary.html#api"&gt;&lt;dfn&gt;Application Programming Interface (API)&lt;/dfn&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;is available to applications as a C programming language interface based on&amp;nbsp;&lt;/span&gt;&lt;a title="Generates a software exception in which access to system resources or privileged operations can be provided." href="https://infocenter.nordicsemi.com/topic/sds_s132/dita_common/glossary/glossary.html#svc"&gt;&lt;dfn&gt;Supervisor Call (SVC)&lt;/dfn&gt;&lt;/a&gt;&lt;span&gt;s and defined in a set of header files.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You do not compile any part of the softdevice yourself, it comes as a precompiled binary. You just use the API to make calls inside the softdevice. The API may be compatible with some C++ compilers, but this is not something we guarantee.&amp;nbsp;Most of the header files will wrap the defines in &amp;#39;extern &amp;quot;C&amp;quot;&amp;#39;, which should make it callable from C++ applications.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/236708?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bdea1d3-d82e-4c69-9519-5ee71eada460</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;SES does not support C++. &amp;nbsp;It stripped out C++ support from GCC. &amp;nbsp;I recommend using Eclipse with GCC for full C++ supports with the SDK. &amp;nbsp;See this blog&amp;nbsp;&lt;a href="https://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html"&gt;embeddedsoftdev.blogspot.com/.../ehal-nrf51.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/236702?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 07:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3bb10e0-8cfd-4af2-8078-cd63dd8de1d9</guid><dc:creator>bernerj</dc:creator><description>&lt;p&gt;Okay that makes sense, but as I understand the softdevice itself does support C++ is this correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Compiling Blinky with GNU++11</title><link>https://devzone.nordicsemi.com/thread/236532?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 12:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce87d17b-c8d3-4454-b641-e650fb563396</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Our SDK does not support C++ and has not been tested with C++ compilers. I think the simples solution would be to keep the main file as a C-file and create a C API for your C++ library to expose the functionality. &lt;a href="https://stackoverflow.com/a/2744206"&gt;Maybe this post&lt;/a&gt; will help you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>