<?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: MQX 4.2 C++ RTCS in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600302#M16675</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;This procedure worked but only if I use the "ARM_GCC_Support" folder and not the "ARM_EABI_Support" as mentioned in the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 14:17:00 GMT</pubDate>
    <dc:creator>Mike_d</dc:creator>
    <dc:date>2016-09-09T14:17:00Z</dc:date>
    <item>
      <title>MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600300#M16673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot build an MQX 4.2 C++ project in&amp;nbsp;CW 10.6.4&amp;nbsp;if I include rtcs. &amp;nbsp;Using the project wizard I create a basic application/cplus project, confirm it runs then add rtcs to the project. &amp;nbsp;I get the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;C:/Freescale/Freescale_MQX_4_2/lib/frdmk64f.cw10gcc/debug/rtcs/rtcs_sock.h:626:39: error: expected ',' or '...' before 'readfds'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;C:/Freescale/Freescale_MQX_4_2/lib/frdmk64f.cw10gcc/debug/rtcs/rtcs_sock.h:636:37: error: expected ',' or '...' before 'option_value'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 20:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600300#M16673</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2016-09-08T20:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600301#M16674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following document for creating a new MQX project using GCC C++&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101405"&gt;https://community.nxp.com/docs/DOC-101405&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 10:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600301#M16674</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-09-09T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600302#M16675</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;This procedure worked but only if I use the "ARM_GCC_Support" folder and not the "ARM_EABI_Support" as mentioned in the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 14:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600302#M16675</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2016-09-09T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600303#M16676</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'm getting compile errors with rtcs because MQX_SUPPRESS_STDIO_MACROS = 1 excludes this list below. &amp;nbsp;I use these functions&amp;nbsp;as well in my application so I'm wondering how will I be able to use them now. &amp;nbsp;I'm trying to create an application with both c and c++ code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if !defined(MQX_SUPPRESS_STDIO_MACROS) || MQX_SUPPRESS_STDIO_MACROS == 0 &lt;BR /&gt; #define clearerr _io_clearerr&lt;BR /&gt; #define fclose _io_fclose&lt;BR /&gt; #define feof _io_feof&lt;BR /&gt; #define ferror _io_ferror&lt;BR /&gt; #define fflush _io_fflush&lt;BR /&gt; #define fgetc _io_fgetc&lt;BR /&gt; #define fgetline _io_fgetline&lt;BR /&gt; #define fgets _io_fgets&lt;BR /&gt; #define fopen _io_fopen&lt;BR /&gt; #define fprintf _io_fprintf&lt;BR /&gt; #define fputc _io_fputc&lt;BR /&gt; #define fputs _io_fputs&lt;BR /&gt; #define fscanf _io_fscanf&lt;BR /&gt; #define fseek _io_fseek&lt;BR /&gt; #define fstatus _io_fstatus&lt;BR /&gt; #define ftell _io_ftell&lt;BR /&gt; #define fungetc _io_fungetc&lt;BR /&gt; #define ioctl _io_ioctl &lt;BR /&gt; #define printf _io_printf&lt;BR /&gt; #define putc _io_fputc&lt;BR /&gt; #define read _io_read&lt;BR /&gt; #define scanf _io_scanf&lt;BR /&gt; #define sprintf _io_sprintf&lt;BR /&gt; #define snprintf _io_snprintf&lt;BR /&gt; #define sscanf _io_sscanf&lt;BR /&gt; #define vprintf _io_vprintf&lt;BR /&gt; #define vfprintf _io_vfprintf&lt;BR /&gt; #define vsprintf _io_vsprintf&lt;BR /&gt; #define vsnprintf _io_vsnprintf&lt;BR /&gt; #define write _io_write&lt;BR /&gt; /* fread and fwrite do not read/write chars but objects */&lt;BR /&gt; #define fread(ptr,so,no,f) (_io_read(f,ptr,(so)*(no))/(so))&lt;BR /&gt; #define fwrite(ptr,so,no,f) (_io_write(f,ptr,(so)*(no))/(so))&lt;BR /&gt;#endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600303#M16676</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2016-09-09T16:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600304#M16677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, did you solve the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm with exactly the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;C:/Freescale/Freescale_MQX_4_2/lib/frdmk64f.cw10gcc/debug/rtcs/rtcs_sock.h:626:39: error: expected ',' or '...' before 'readfds'&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;C:/Freescale/Freescale_MQX_4_2/lib/frdmk64f.cw10gcc/debug/rtcs/rtcs_sock.h:636:37: error: expected ',' or '...' before 'option_value'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried all the things above and didn't solve the compiler error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm developing&amp;nbsp;a custom board and a custom project derived from MQX 4.2 and cplus example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using CW 10.6.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Diego&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 17:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600304#M16677</guid>
      <dc:creator>diego_augustus</dc:creator>
      <dc:date>2016-09-30T17:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600305#M16678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the "restrict" keyword in the declaration of the functions select() and getsockopt() in the rtcs_sock.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose that is any incompatibility between the "restrict" keyword and the C++ compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I just remove the keyword and it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 12:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600305#M16678</guid>
      <dc:creator>diego_augustus</dc:creator>
      <dc:date>2016-10-05T12:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: MQX 4.2 C++ RTCS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600306#M16679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add &amp;nbsp;"--restrict" to compiler misc control.&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0376d/CHDFDJHJ.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0376d/CHDFDJHJ.html"&gt;ARM Information Center&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 14:28:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-4-2-C-RTCS/m-p/600306#M16679</guid>
      <dc:creator>igorshakirov</dc:creator>
      <dc:date>2017-02-16T14:28:26Z</dc:date>
    </item>
  </channel>
</rss>

