<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: newlib and standard c++ library in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478245#M101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this thread on the constructor issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/448479"&gt;https://community.nxp.com/thread/448479&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 12:04:29 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2017-04-11T12:04:29Z</dc:date>
    <item>
      <title>newlib and standard c++ library</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478241#M97</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got some problems when changing from ewl to newlib in order to use to Heap.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When including #include &amp;lt;string&amp;gt;, I got: Unresolved inclusion: &amp;lt;string&amp;gt; error.&lt;/P&gt;&lt;P&gt;I am able to do a #include &amp;lt;c++/4.9.2/string&amp;gt;, but I am not able to use std::string nor am I allowed to use the standard namespace: using namespace std;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use any of the standard library functions that needs dynamic memory allocation in S32DS?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 13:57:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478241#M97</guid>
      <dc:creator>danielomsland</dc:creator>
      <dc:date>2016-01-08T13:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: newlib and standard c++ library</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478242#M98</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked your problem and we are working on it. I will try to inform you as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 12:58:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478242#M98</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-01-11T12:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: newlib and standard c++ library</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478243#M99</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Any updates on this?&amp;nbsp; I'm having the same problem.&amp;nbsp; Creating a library with something as simple as what's below fails:&lt;/P&gt;&lt;P&gt;#include &amp;lt;string&amp;gt;&lt;BR /&gt;class C {&lt;BR /&gt;public:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;std::string m_string;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Note that the library does compile.&lt;/P&gt;&lt;P&gt;I pocked around and found that by updating the Preprocessor Include Paths, the "Unresolved inclusion: &amp;lt;string&amp;gt; error." goes away.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IncludePaths.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3426i8E3AC87AE03C1F64/image-size/large?v=v2&amp;amp;px=999" role="button" title="IncludePaths.PNG" alt="IncludePaths.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I still get a "Type 'std::string' could not be resolved" error and I wasn't able to get any further... bummer.&lt;/P&gt;&lt;P&gt;Looks like something in the "CDT S32 Built-in Compiler Settings" for C++ is off.&lt;/P&gt;&lt;P&gt;Note his piece does work fine on the Kinetis Design Studio.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;&lt;P&gt;PS: Do you know where I can find a S32DS vs KDS comparison?&amp;nbsp; Trying to figure out which way to head with KEA family chips...&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2016 07:30:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478243#M99</guid>
      <dc:creator>reneherrero</dc:creator>
      <dc:date>2016-10-16T07:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: newlib and standard c++ library</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478244#M100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was this ever solved? I am having a similar issue with the STL Vector Library. If I change the paths like you said it removes the error on the include, however the constructor is still unrecognized.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 03:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478244#M100</guid>
      <dc:creator>IanMcelhenny</dc:creator>
      <dc:date>2017-04-11T03:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: newlib and standard c++ library</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478245#M101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this thread on the constructor issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/448479"&gt;https://community.nxp.com/thread/448479&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 12:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/newlib-and-standard-c-library/m-p/478245#M101</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2017-04-11T12:04:29Z</dc:date>
    </item>
  </channel>
</rss>

