Path: chuka.playstation.co.uk!news From: Ken Lam <100411.265@compuserve.com> Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: Linker error undefined: '__cvt_dfp2unsigned' Date: Mon, 14 Jul 1997 17:31:28 -0700 Organization: PlayStation Net Yaroze (SCEE) Lines: 31 Message-ID: <33CAC4E0.10B@compuserve.com> References: <33C6C386.746E@compuserve.com> NNTP-Posting-Host: 195.232.6.84 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.02 (Win16; I) > Unfortunately I get a Codewarrior link error > > undefined: '__cvt_dfp2unsigned' > Referenced from 'fgf_maketim' in Fgfprint.c From reading an article on the scea CodeWarrior newsgroup it seems that floating point emulation is unavailable The suspect line was nBytesInRow = ceil(sizeX / 8.0); (Okay, less than optimal but it's not a critical path function.) It has now been replaced by nBytesInRow = (sizeX + 7) / 8; > I still get the error even if I delete the body of my function fgf_maketim!? Not true! I was using an external editor and executing make Ctrl-M did not recompile fgfont.c (dependecy cacheing?) (Using Watcom Editor 1.0. Even Word 6.0 is more responsive than CW's built-in editor(!) (I now see the wisdom of separating the editor from the IDE - thanks, Watcom!)) Also having nested "/* ... */" style comments did not help matters, either. Ken Lam ESP Software