🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6080

Re: Turbo C 2.0 not linking printf f.p. formats

#6080
From: Marc Wiener
Date: Tue, 07 May 1991 13:20
33 lines
1672 bytes
In article <7401@mace.cc.purdue.edu> afc@mace.cc.purdue.edu (Greg Flint) writes:

>This problem also exists with Turbo C++ version 1.01.
>
>Borland knows about this error and has the following work-around:
>
>	1) add the line "#include <math.h>" to your list of include files.
>	2) call some math function to a dummy float variable, e.g., use
>		float dummy;
>		dummy = cos (1.0);
>
>The floating point libraries will now be loaded for use with the [sf]printf
>functions.
>
>I found this out after calling Borland and waiting the usual 20 minutes on
>hold -- which brings me to the question:  Is there any place that Borland
>posts such known bugs and, if available, work-arounds?   If so, where?
>And would someone reading the list be willing to post updates to it to the
>net?  Or archive it at an ftp-accessable site?
>
>....Greg Flint (afc@klaatu.cc.purdue.edu)


I found patches on Compuserve several months ago for Turbo C 2.0. They
were posted on Borland's bulletin board. I haven't logged on recntly, but
assume they're still there.

marc
-- 
Marc Wiener                    |    marc@pinet.aip.org
American Institute of Physics  |    marc@aip.bitnet
500 Sunnyside Blvd.            |
Woodbury, NY 11797             |     (516)349-7800
Technical Details
Message-ID: <1991May7.132018.21333@pinet.aip.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!pinet!marc
References: <11067@hub.ucsb.edu> <7401@mace.cc.purdue.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!pinet!marc
From: marc@pinet.aip.org (Marc Wiener)
Subject: Re: Turbo C 2.0 not linking printf f.p. formats
Message-ID: <1991May7.132018.21333@pinet.aip.org>
Organization: American Institute of Physics
References: <11067@hub.ucsb.edu> <7401@mace.cc.purdue.edu>
Date: Tue, 7 May 91 13:20:18 GMT