Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: "Mark Andrade" Newsgroups: scea.yaroze.programming.codewarrior Subject: '_d_dtoi' Link errors Date: Wed, 06 May 1998 22:28:37 -0700 Organization: Andrade Arts Lines: 26 Message-ID: <6irg2f$6r7@scea> NNTP-Posting-Host: hdn105-167.hil.compuserve.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Outlook Express for Macintosh - 4.0a (190) I keep getting link errors every time I try to type cast a double or float to a short. It only seems to happen if I convert the double or float to a short and then try to set a parameter in a GsSprite. For example: //assume that mySprite has already been created. short x ; double dx = 1.03; x = dx; mySprite.x = x; // My tests show it complains about this line. The link errors I get are: Link Error : undefined: '_d_dtoi' Link Error : undefined: '_d_fle' Link Error : undefined: '_d_add' Link Error : undefined: '_d_fge' All referenced form 'drag' in main.c If I do not set mySprite.x, CW doesn't complain. Do I need to set something in the Prefs? Am we not allowed to do this? Thanks for the help. Mark Andrade mark@andradearts.com