<?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>CodeWarrior for MCUのトピックRe: Compilation or not compilation</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compilation-or-not-compilation/m-p/228672#M9028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;or in other words: the GNU make file is not properly tracking the assembly include file dependencies.&lt;/P&gt;&lt;P&gt;I faced that problem too and have filed a bug report on this.&lt;/P&gt;&lt;P&gt;I know that this does not help, but at least I can confirm the issue.&lt;/P&gt;&lt;P&gt;As a workaround, if you change a .inc file, either change/touch the assemly file(s) using it, or do a clean as you already did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps (at least somewhat).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 17:36:53 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2013-06-19T17:36:53Z</dc:date>
    <item>
      <title>Compilation or not compilation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compilation-or-not-compilation/m-p/228671#M9027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found a little bug in codewarrior 10.4 :&lt;/P&gt;&lt;P&gt;Processor = MS9S08QE128&lt;/P&gt;&lt;P&gt;Project mixed with C and ASM, parts in separate sources (ASM not in C sources)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Variable declared in C ex: char VAR1&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ASM Include sources: asm_var.inc &lt;/P&gt;&lt;P&gt;content:&lt;/P&gt;&lt;P&gt;XREFB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR1&lt;/P&gt;&lt;P&gt;FOO:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp; 5&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assembly source: asm_main.asm&lt;/P&gt;&lt;P&gt;content:&lt;/P&gt;&lt;P&gt;INCLUDE 'asm_var.inc'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;label:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOO,VAR1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTS&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compilation build project = OK, no errors&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values in asm_var.inc are modified like this and saved on disk&lt;/P&gt;&lt;P&gt;XREFB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR12345&lt;/P&gt;&lt;P&gt;FOOZSQ:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp; 5&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compilation build project = OK, no errors !!! &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To find the errors, I need to clean the project and rebuild it. With "normal" compilation this big bug is not detected.&lt;/P&gt;&lt;P&gt;I try to rename the include file asm_var.inc&amp;nbsp; in&amp;nbsp; asm_var.s, coloring syntax appear but the bug remain.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the same wrong value in include file and adding an error on keyword XREFB&lt;/P&gt;&lt;P&gt;XREFBx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAR12345&lt;/P&gt;&lt;P&gt;FOOZSQ:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQU&amp;nbsp; 5&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is now detected, it's seems that variables are not always verified by the builder ??&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 17:30:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compilation-or-not-compilation/m-p/228671#M9027</guid>
      <dc:creator>PhilFree</dc:creator>
      <dc:date>2013-06-19T17:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation or not compilation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compilation-or-not-compilation/m-p/228672#M9028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;or in other words: the GNU make file is not properly tracking the assembly include file dependencies.&lt;/P&gt;&lt;P&gt;I faced that problem too and have filed a bug report on this.&lt;/P&gt;&lt;P&gt;I know that this does not help, but at least I can confirm the issue.&lt;/P&gt;&lt;P&gt;As a workaround, if you change a .inc file, either change/touch the assemly file(s) using it, or do a clean as you already did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps (at least somewhat).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 17:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compilation-or-not-compilation/m-p/228672#M9028</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-06-19T17:36:53Z</dc:date>
    </item>
  </channel>
</rss>

