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