<?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: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.  in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474938#M7000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hello Burton&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Thanks a lot for contacting us. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;What is compiler option in the &lt;SPAN style="color: black;"&gt;"&lt;/SPAN&gt;#pragma OPTION…&lt;SPAN style="color: black;"&gt;"&lt;/SPAN&gt; that introduced this error? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Would you please add this option to your compiler command line options, this error will go away:-Press Alt-F7 to pull up your target settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-In the left hand panel, expand the 'Target' tree and select 'Compiler for HC12'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-In the right hand panel, add this option to the command line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hope it helps! If not, could you please attach an example project to reproduce the problem? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Fiona Kuang&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Technical Information &amp;amp; Commercial Support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 06:53:50 GMT</pubDate>
    <dc:creator>TICS_Fiona</dc:creator>
    <dc:date>2016-02-01T06:53:50Z</dc:date>
    <item>
      <title>Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474937#M6999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started a new project for the with codewarrior development studio for S12(x)V5.1.&lt;/P&gt;&lt;P&gt;The compiler generates an "Error: C4202: Invalid pragma OPTION, ADD or DEL expected. " in file "IO_Map.h" this file is added by the tool.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this error be fixed?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Burton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 09:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474937#M6999</guid>
      <dc:creator>burtonweakley</dc:creator>
      <dc:date>2016-01-29T09:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474938#M7000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hello Burton&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Thanks a lot for contacting us. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;What is compiler option in the &lt;SPAN style="color: black;"&gt;"&lt;/SPAN&gt;#pragma OPTION…&lt;SPAN style="color: black;"&gt;"&lt;/SPAN&gt; that introduced this error? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Would you please add this option to your compiler command line options, this error will go away:-Press Alt-F7 to pull up your target settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-In the left hand panel, expand the 'Target' tree and select 'Compiler for HC12'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-In the right hand panel, add this option to the command line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hope it helps! If not, could you please attach an example project to reproduce the problem? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Fiona Kuang&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Technical Information &amp;amp; Commercial Support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 06:53:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474938#M7000</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2016-02-01T06:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474939#M7001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fiona,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your email, my evaluation license unfortunately expired, can &lt;/P&gt;&lt;P&gt;it be extended perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 14:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474939#M7001</guid>
      <dc:creator>burtonweakley</dc:creator>
      <dc:date>2016-02-01T14:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474940#M7002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Burton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can contact the license team via the Case system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the merge of Freescale and NXP, technical support cases are answered in a different system.&lt;/P&gt;&lt;P&gt;To submit your case into the new system, please follow below steps:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 1) Go to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.nxp.com/support/sales-and-support:SUPPORTHOME" rel="nofollow"&gt;http://www.nxp.com/support/sales-and-support:SUPPORTHOME&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2) On the bottom of the page under Submit New Issues, click Hardware &amp;amp; Software.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3) Register with your business email to access NXP technical online support.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4) A verification email will be sent to your account. Click the link embedded in that email to verify your access.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 5) On the NXP online support page, select Contact Support from the top menu and click “submit a new case” to start the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pascal&lt;BR /&gt;NXP Technical Support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474940#M7002</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2016-02-01T16:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474941#M7003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Pascal,&lt;/P&gt;&lt;P&gt;I will get to you on the PRAGMA issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;Burton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474941#M7003</guid>
      <dc:creator>burtonweakley</dc:creator>
      <dc:date>2016-02-02T06:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474942#M7004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fiona,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only compiler option is "-Mb"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifndef __V30COMPATIBLE__&lt;/P&gt;&lt;P&gt;#pragma OPTION DEL V30toV31Compatible - This line in "IO_Map.h" is &lt;/P&gt;&lt;P&gt;causing the error&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Burton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:04:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474942#M7004</guid>
      <dc:creator>burtonweakley</dc:creator>
      <dc:date>2016-02-02T09:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474943#M7005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Burton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;There should be some code like below before “#pragma OPTION DEL” that you extracted in the same head file ("IO_Map.h"): &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;#pragma OPTION ADD V30toV31Compatible …….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;Could you please attach your project to help us reproduce the problem? Thanks! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Best Regards&lt;/P&gt;&lt;P&gt;Fiona Kuang&lt;/P&gt;&lt;P&gt;Technical Information &amp;amp; Commercial Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 08:20:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474943#M7005</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2016-02-03T08:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474944#M7006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted the project on dropbox: &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/7dwhmqqwhtwcp0f/PackAndGo.zip?dl=0" target="test_blank"&gt;https://www.dropbox.com/s/7dwhmqqwhtwcp0f/PackAndGo.zip?dl=0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 08:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474944#M7006</guid>
      <dc:creator>burtonweakley</dc:creator>
      <dc:date>2016-02-03T08:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474945#M7007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is caused by your DEL define in flasher_comms.h To fix, either rename DEL define or move #include "flash_comms.h" down in your C files, so that it comes below PE and all other &amp;lt;&amp;gt; includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In future fighting similar issues, try preprocessing code which fails to compile. #pragma OPTION &lt;SPAN style="text-decoration: underline;"&gt;0x7F&lt;/SPAN&gt; ... in preprocessor output instead of #pragma OPTION DEL ... will tell you what to search for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 07:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474945#M7007</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2016-02-05T07:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error: C4202: Invalid pragma OPTION, ADD or DEL expected.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474946#M7008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, that solved the problem, you guys are great, thanx!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Burton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 07:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Error-C4202-Invalid-pragma-OPTION-ADD-or-DEL-expected/m-p/474946#M7008</guid>
      <dc:creator>burtonweakley</dc:creator>
      <dc:date>2016-02-05T07:48:03Z</dc:date>
    </item>
  </channel>
</rss>

