<?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 Link Error for (float)x = (int)j, pls help. in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133427#M657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to perform a math function say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;double x;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int y;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x = (double) y * 2.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got errors that say symbol _DSFLOAT in file:*object file* is undefined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s dun worry y is not initialized because in my main code, it is defined. And if you guys think it is necessary, i can show u guys my main code. Just dun want to complicate things up yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will only work when all the variables are of the same type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;T-H-A-N-K Y-O-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2006 16:02:11 GMT</pubDate>
    <dc:creator>krude</dc:creator>
    <dc:date>2006-04-24T16:02:11Z</dc:date>
    <item>
      <title>Link Error for (float)x = (int)j, pls help.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133427#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to perform a math function say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;double x;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int y;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x = (double) y * 2.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got errors that say symbol _DSFLOAT in file:*object file* is undefined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s dun worry y is not initialized because in my main code, it is defined. And if you guys think it is necessary, i can show u guys my main code. Just dun want to complicate things up yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will only work when all the variables are of the same type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;T-H-A-N-K Y-O-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 16:02:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133427#M657</guid>
      <dc:creator>krude</dc:creator>
      <dc:date>2006-04-24T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error for (float)x = (int)j, pls help.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133428#M658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Apparently you are not linking your application against the appropriate ANSI library.&lt;BR /&gt;In order to make sure this works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Create your project using the wizard&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Make sure you specify you want to use Floating Point arithmetic and select&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;the floating point format you wish to use.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;- Add your source code to the application.&lt;/P&gt;&lt;P&gt;This should fix it.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 16:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133428#M658</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-04-24T16:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error for (float)x = (int)j, pls help.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133429#M659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thank you! I finally solved the problem. Thanks once more.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 09:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Link-Error-for-float-x-int-j-pls-help/m-p/133429#M659</guid>
      <dc:creator>krude</dc:creator>
      <dc:date>2006-04-25T09:15:09Z</dc:date>
    </item>
  </channel>
</rss>

