Article View: comp.os.msdos.programmer
Article #6076Re: Turbo C 2.0 not linking printf f.p. formats
From: Raymond Chen
Date: Mon, 06 May 1991 22:46
Date: Mon, 06 May 1991 22:46
15 lines
1387 bytes
1387 bytes
From the comp.sys.ibm.pc.misc Frequently Asked Questions file:
2.5) I get the message "floating point formats not linked" when I
try to run my C program. Why?
This is a painfully well-known bug in Turbo C. Just #include <math.h>
and stick the line "(void)exp(1.0);" at the start of your main() and
that should convince the linker to include the floating point formats.
A patch exists to remedy this bug.
Patches for Turbo C can be obtained from SIMTEL20, or from LIB 5 of
the Borland Forum on CompuServe. There is a Turbo-C mailing list
on LISTSERV@UCF1VM.BITNET.
There's a Zortech-C mailing list on uunet!ztc-list-request.
Technical Details
Message-ID:
<1991May6.224619.15805@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!agate!wheatena.berkeley.edu!raymondReferences:
<11067@hub.ucsb.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!agate!wheatena.berkeley.edu!raymond From: raymond@math.berkeley.edu (Raymond Chen) Newsgroups: comp.os.msdos.programmer Subject: Re: Turbo C 2.0 not linking printf f.p. formats Message-ID: <1991May6.224619.15805@agate.berkeley.edu> Date: 6 May 91 22:46:19 GMT Article-I.D.: agate.1991May6.224619.15805 References: <11067@hub.ucsb.edu> Sender: root@agate.berkeley.edu (Charlie Root) Reply-To: raymond@math.berkeley.edu (Raymond Chen) Organization: U.C. Berkeley Lines: 15 In-Reply-To: jackg@capella.ucsb.EDU (Jack Greenbaum) Originator: raymond@wheatena.berkeley.edu