<?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: odd error while compilating in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/odd-error-while-compilating/m-p/200094#M5380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is usually generated when you have variable definition instead of declaration in a header file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A variable must be defined in a C source file as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;char array[] =&amp;nbsp; "0123456789";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A header file should only include variable declaration as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern char array[];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2011 12:37:51 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2011-04-21T12:37:51Z</dc:date>
    <item>
      <title>odd error while compilating</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/odd-error-while-compilating/m-p/200093#M5379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey, I'm doing a wireless ADC application, and I made a couple of "libraries" to handle some of the events, in one of those I declare an array with 10 characters (from '0' to '9'), but I'm new at codewarrior programing so when I try to complie it, it shows "link error L1818 variable nums duplicates in.....", but in the most of the libraries it bugs me, I'm not using that array, ¿can anyone help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 01:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/odd-error-while-compilating/m-p/200093#M5379</guid>
      <dc:creator>DavidAndrade</dc:creator>
      <dc:date>2011-04-21T01:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: odd error while compilating</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/odd-error-while-compilating/m-p/200094#M5380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is usually generated when you have variable definition instead of declaration in a header file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A variable must be defined in a C source file as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;char array[] =&amp;nbsp; "0123456789";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A header file should only include variable declaration as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern char array[];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 12:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/odd-error-while-compilating/m-p/200094#M5380</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-04-21T12:37:51Z</dc:date>
    </item>
  </channel>
</rss>

