<?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: VectorMap Syntax Warnings - CW10.1 - MCF51CN128 in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158581#M2541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I removed the "asm" on the first warning to correct that issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried prototyping the remaining functions, but then the functions complain that there's a syntax error. Is the pre-compiler statement that allows me to ignore warnings in this file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2011 22:33:47 GMT</pubDate>
    <dc:creator>ignisuti</dc:creator>
    <dc:date>2011-08-17T22:33:47Z</dc:date>
    <item>
      <title>VectorMap Syntax Warnings - CW10.1 - MCF51CN128</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158578#M2538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My VectorMap.c file is now filled with Syntax Warnings. Below are just a few of the many function prototypes that have this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;void interrupt VectorNumber_Vaccerr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISR_Vaccerr(void){&amp;nbsp;&amp;nbsp; asm (jmp IllegalTrap);}&amp;nbsp;&amp;nbsp; void interrupt VectorNumber_Vadderr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISR_Vadderr(void){&amp;nbsp;&amp;nbsp; asm (jmp IllegalTrap);}&amp;nbsp;&amp;nbsp; void interrupt VectorNumber_Viinstr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISR_Viinstr(void){&amp;nbsp;&amp;nbsp; asm (jmp IllegalTrap);}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This was not an issue with CW 6.3, but is now that I've changed over to CW 10.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158578#M2538</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2020-10-29T09:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: VectorMap Syntax Warnings - CW10.1 - MCF51CN128</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158579#M2539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ignisuti,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect this is an Eclipse parser issue which expects a function name instead of the "interrupt" keyword.&lt;/P&gt;&lt;P&gt;Assume the compiler accepts it and there is no real warning/error in&amp;nbsp; the "Problems" View during build, am I right?&lt;/P&gt;&lt;P&gt;Could you post the screenshot of the warning you get?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stanish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 22:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158579#M2539</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2011-08-15T22:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: VectorMap Syntax Warnings - CW10.1 - MCF51CN128</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158580#M2540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; line-height: 14px;"&gt;Please see the left-side of this graphic for Question-mark and Exclamation-mark indicators. Those are the lines that contain warnings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;The first question-mark says “Syntax Error”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Then, every function after that has an exclamation-mark which says “function has no prototype”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;IMG alt="Errors" border="0" src="http://dl.dropbox.com/u/438946/errors.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 23:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158580#M2540</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-08-15T23:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: VectorMap Syntax Warnings - CW10.1 - MCF51CN128</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158581#M2541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I removed the "asm" on the first warning to correct that issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried prototyping the remaining functions, but then the functions complain that there's a syntax error. Is the pre-compiler statement that allows me to ignore warnings in this file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 22:33:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158581#M2541</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-08-17T22:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: VectorMap Syntax Warnings - CW10.1 - MCF51CN128</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158582#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did find a precompiler statement that will allow me to temporarily disable these warnings.&lt;/P&gt;&lt;P&gt;"WmsgSd﻿"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I need to know the warning number. Can anyone tell me how to find this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 04:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158582#M2542</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-08-24T04:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: VectorMap Syntax Warnings - CW10.1 - MCF51CN128</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158583#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The -WmsgSd﻿﻿ is supported for 8/16 bit compilers, I doubt that the CF compiler has it. Anyhow, that would not help&lt;/P&gt;&lt;P&gt;as this warning is generated by the eclipse-built-in parser, not by the CF compiler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as hint, did not look at all in this particular setup, so not sure how easy and if ther are possible/supported at all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- disable the builtin parser, but this has side effects like that the code navigation gets affected, so I would not do this.&lt;/P&gt;&lt;P&gt;- conditionally compile the asm away with a macro for the builtin parser. Would need some way (say define) to detect the builtin parser. So I did not do this myself, but sounds not too hard to do. Sounds like the most reasonable way to resolve this.&lt;/P&gt;&lt;P&gt;- change the eclipse/cdt's parser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure there are more, but -WmsgSd is does not help here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 21:11:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/VectorMap-Syntax-Warnings-CW10-1-MCF51CN128/m-p/158583#M2543</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2011-08-24T21:11:20Z</dc:date>
    </item>
  </channel>
</rss>

