<?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: Linkage Conflict - variable redefinition - CW 6.3</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208653#M8141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duh... I'm embarassed now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Kef!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 21:31:32 GMT</pubDate>
    <dc:creator>ignisuti</dc:creator>
    <dc:date>2011-05-24T21:31:32Z</dc:date>
    <item>
      <title>Linkage Conflict - variable redefinition - CW 6.3</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208651#M8139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting the following when I compile:&lt;/P&gt;&lt;PRE&gt;Warning : external/internal linkage conflict with previous declaration
HARDWARE.c line 52&amp;nbsp;&amp;nbsp; static unsigned char digitalInput1TimerEnable = FALSE;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I have a file named HARDWARE.c that contains this line of code:&lt;/P&gt;&lt;PRE&gt;static unsigned char digitalInput1TimerEnable = FALSE;&lt;/PRE&gt;&lt;P&gt;and also a HARDWARE.h header file that contains this line of code:&lt;/P&gt;&lt;PRE&gt;extern unsigned char digitalInput1TimerEnable;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This variable is not defined anywhere else in my code. Why would I be getting this warning?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 05:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208651#M8139</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-05-24T05:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Linkage Conflict - variable redefinition - CW 6.3</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208652#M8140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;static variables&amp;nbsp;can not be exported to other C files with extern. static's are always private to the C file, you define them in. Either remove static keyword from variable definition or extern from declaration.&amp;nbsp;Your favorite C book should tell you the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 10:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208652#M8140</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-05-24T10:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linkage Conflict - variable redefinition - CW 6.3</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208653#M8141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duh... I'm embarassed now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Kef!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 21:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linkage-Conflict-variable-redefinition-CW-6-3/m-p/208653#M8141</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-05-24T21:31:32Z</dc:date>
    </item>
  </channel>
</rss>

