<?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: cgi_index.c compiler error HTTPD_CGI_LINK_STRUCT in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206673#M4888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;It was still&amp;nbsp;_mqx_int﻿ and changing to int now runs.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks a lot and regards&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Corrado Carini&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Gei Srl&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2011 21:19:48 GMT</pubDate>
    <dc:creator>Curro</dc:creator>
    <dc:date>2011-05-16T21:19:48Z</dc:date>
    <item>
      <title>cgi_index.c compiler error HTTPD_CGI_LINK_STRUCT</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206671#M4886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new in MQX and i'm trying to compile&amp;nbsp;TWR-K60N512_Quick_Start_Demo﻿ example but I find 8 errors, one for each line of this struct:&lt;/P&gt;&lt;P&gt;const HTTPD_CGI_LINK_STRUCT cgi_lnk_tbl[] = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "accel_data", &amp;nbsp; cgi_accelerometer_data},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "rtcdata", &amp;nbsp; &amp;nbsp; &amp;nbsp;cgi_rtc_data},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "board_status", cgi_board_status},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "game_status", &amp;nbsp;cgi_game_status},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "toggleled1", &amp;nbsp; &amp;nbsp; cgi_toggle_led1},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "toggleled2", &amp;nbsp; &amp;nbsp; cgi_toggle_led2},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "toggleled3", &amp;nbsp; &amp;nbsp; cgi_toggle_led3},&lt;/P&gt;&lt;P&gt;&amp;nbsp; { "toggleled4", &amp;nbsp; &amp;nbsp; cgi_toggle_led4},&lt;/P&gt;&lt;P&gt;{ 0, 0 } &amp;nbsp; &amp;nbsp;// DO NOT REMOVE - last item - end of table};﻿&lt;/P&gt;&lt;P&gt;Error is:&lt;/P&gt;&lt;P&gt;Error[Pe144]: a value of type "int (*)(struct httpd_session_struct *)" cannot be used to initialize an entity of type "long (*)(struct httpd_session_struct *)"﻿&lt;/P&gt;&lt;P&gt;I use IAR 6 and MQX 3.7.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 19:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206671#M4886</guid>
      <dc:creator>Curro</dc:creator>
      <dc:date>2011-05-16T19:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: cgi_index.c compiler error HTTPD_CGI_LINK_STRUCT</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206672#M4887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to set the return value of cgi functions to _mqx_int instead or int.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 20:24:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206672#M4887</guid>
      <dc:creator>madifazio</dc:creator>
      <dc:date>2011-05-16T20:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: cgi_index.c compiler error HTTPD_CGI_LINK_STRUCT</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206673#M4888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;It was still&amp;nbsp;_mqx_int﻿ and changing to int now runs.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks a lot and regards&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Corrado Carini&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Gei Srl&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 21:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/cgi-index-c-compiler-error-HTTPD-CGI-LINK-STRUCT/m-p/206673#M4888</guid>
      <dc:creator>Curro</dc:creator>
      <dc:date>2011-05-16T21:19:48Z</dc:date>
    </item>
  </channel>
</rss>

