home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 19023 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
  3. From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
  4. Subject: Re: FP formats not linked
  5. Message-ID: <1992Dec30.124620.27793@mksol.dseg.ti.com>
  6. Organization: Texas Instruments Inc
  7. References: <1992Dec30.023547.1076@cpp.uucp>
  8. Date: Wed, 30 Dec 1992 12:46:20 GMT
  9. Lines: 28
  10.  
  11. In <1992Dec30.023547.1076@cpp.uucp> root@cpp.uucp (Rich Bauer) writes:
  12.  
  13. >When scanf goes to get the first batting average in this program,
  14. >the program terminates abnormally with the error message:
  15. >"floating point formats not linked"
  16.  
  17. >What does this mean?  I can't find it in the manuals, and the code
  18. >is correct as far as I can tell.  What's the problem?
  19.  
  20. You are presumably using Borland C++ (or some variant which is a
  21. Borland product -- it helps to tell people this).  This question is so
  22. common that it is answered in the FAQ.  It is also answered in a
  23. README file that should have been installed in your BCC directory:
  24.  
  25.   - If you get a "floating point formats not linked" message at
  26.     runtime, put the following somewhere in your source files:
  27.  
  28.         extern void _floatconvert();
  29.         #pragma extref _floatconvert
  30.  
  31.     This will force inclusion of floating point formats, which
  32.     may not be linked to reduce executable size.
  33.  
  34. -- 
  35. "Insisting on perfect safety is for people who don't have the balls to live
  36.  in the real world."   -- Mary Shafer, NASA Ames Dryden
  37. ------------------------------------------------------------------------------
  38. Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
  39.