<?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>Classic/Legacy CodeWarriorのトピックRe: Warning in Code Warrior 5.1</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636265#M7320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you try this pragma:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;#pragma CODE_SEG NON_BANKED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;instead of:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;If it does not help I'd recommend you to preprocess the file where warning occurs and try to search all #pragma push/pop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Perhaps there is a header file that adds an extra pragma.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Stan.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Mar 2017 22:37:46 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2017-03-12T22:37:46Z</dc:date>
    <item>
      <title>Warning in Code Warrior 5.1</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636264#M7319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When build the project, it appears the Warning as below, would you please kinldy help to advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warning : C4207: Invalid pragma push, missing #pragma pop (more #pragma push that #pragma pop occured)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it happened in this position,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;/P&gt;&lt;P&gt;/*void interrupt VectorNumber_Vpit2 ISR_PIT2(void) */&lt;/P&gt;&lt;P&gt;vector 68 interrupt void ISR_PIT2(void) /* vector 68 */&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;//100ms //PITCFLMT=0;&lt;/P&gt;&lt;P&gt;PITTF |= 0x04;&lt;/P&gt;&lt;P&gt;Task_50ms();&lt;/P&gt;&lt;P&gt;//PITCFLMT=0x80;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG DEFAULT&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 07:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636264#M7319</guid>
      <dc:creator>dannydeng</dc:creator>
      <dc:date>2017-03-09T07:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Warning in Code Warrior 5.1</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636265#M7320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you try this pragma:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;#pragma CODE_SEG NON_BANKED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;instead of:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;If it does not help I'd recommend you to preprocess the file where warning occurs and try to search all #pragma push/pop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Perhaps there is a header file that adds an extra pragma.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Stan.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Mar 2017 22:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636265#M7320</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2017-03-12T22:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Warning in Code Warrior 5.1</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636266#M7321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ray,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warining C4207 means "Invalid pragma pop, &amp;lt;description&amp;gt; The &lt;CODE&gt;pragma pop&lt;/CODE&gt; was used in a ill formed way. "&lt;/P&gt;&lt;P&gt;Please check your source code and related .h file if there is any "#pragma pop " missing.&lt;/P&gt;&lt;P&gt;attached video is a demo of C4207 warning reproduction and fix. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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, 13 Mar 2017 05:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Warning-in-Code-Warrior-5-1/m-p/636266#M7321</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-03-13T05:28:47Z</dc:date>
    </item>
  </channel>
</rss>

