<?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: Warning C1801: Implicit parameter-declaration in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152886#M3757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Alban,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My project is huge and as you said I sometimes forget adding functions prototypes.&lt;/DIV&gt;&lt;DIV&gt;I can compile entire project successfully even if I did so.&lt;/DIV&gt;&lt;DIV&gt;I want compile process to fail if this warning exists for any modules of the project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or can I see all warings of modules in a list?&lt;/DIV&gt;&lt;DIV&gt;I can easly search C1801 in this list.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;BP.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2007 16:38:02 GMT</pubDate>
    <dc:creator>BasePointer</dc:creator>
    <dc:date>2007-10-05T16:38:02Z</dc:date>
    <item>
      <title>Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152884#M3755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using CW6.0 and HCS08 C.&lt;/DIV&gt;&lt;DIV&gt;The compiler generates warnings for my application "Warning C1801: Implicit parameter-declaration".&lt;/DIV&gt;&lt;DIV&gt;And this warning causes my application not to work properly.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want to take compile error with this warning. Is this possible?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 16:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152884#M3755</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-10-05T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152885#M3756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;It is possibke to compile without warnings.&lt;BR /&gt;The fault is not because of the warning, but probably because you use a function in your code and you did not declare the function prototype before.&lt;BR /&gt;&lt;BR /&gt;Warning and Error codes are very useful as they are described in the help of CodeWarrior.&lt;BR /&gt;&lt;BR /&gt;C1801 means Compiler error. Lxxxx would mean a linker error...&lt;BR /&gt;&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 16:26:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152885#M3756</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-10-05T16:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152886#M3757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Alban,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My project is huge and as you said I sometimes forget adding functions prototypes.&lt;/DIV&gt;&lt;DIV&gt;I can compile entire project successfully even if I did so.&lt;/DIV&gt;&lt;DIV&gt;I want compile process to fail if this warning exists for any modules of the project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or can I see all warings of modules in a list?&lt;/DIV&gt;&lt;DIV&gt;I can easly search C1801 in this list.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;BP.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 16:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152886#M3757</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-10-05T16:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152887#M3758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Standard Settings... -&amp;gt; Compile for HC08 -&amp;gt; Messages -&amp;gt; Warning Tab and I moved C1801 to the Error.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I'm taking compile error with C1801.&amp;nbsp;This is exactly what I want.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;&lt;DIV&gt;BP.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 16:57:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152887#M3758</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-10-05T16:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152888#M3759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;there is as well the compiler option&lt;BR /&gt;-Wpd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error for implicit parameter declaration&lt;BR /&gt;under the MESSAGE tab which will flag implicit parameter declarations as error.&lt;BR /&gt;&lt;BR /&gt;BK&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 17:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152888#M3759</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2007-10-05T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152889#M3760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I also wonder&amp;nbsp;if I can do this with #pragma directions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 17:58:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152889#M3760</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-10-05T17:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152890#M3761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;yes, there is a #pragma way for this&lt;BR /&gt;&lt;BR /&gt;something like&lt;BR /&gt;#pragma MESSAGE ERROR C1801&lt;BR /&gt;(see manual/help files for details).&lt;BR /&gt;&lt;BR /&gt;The other way is to use the&lt;BR /&gt;#pragma OPTION ADD xx "-Wpd"&lt;BR /&gt;way.&lt;BR /&gt;&lt;BR /&gt;BK&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 18:13:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152890#M3761</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2007-10-05T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Warning C1801: Implicit parameter-declaration</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152891#M3762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;That works:&lt;/DIV&gt;&lt;DIV&gt;#pragma MESSAGE ERROR C1801&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Implicit parameter declaration&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you so much.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 18:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Warning-C1801-Implicit-parameter-declaration/m-p/152891#M3762</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-10-05T18:49:12Z</dc:date>
    </item>
  </channel>
</rss>

