Article View: comp.std.c
Article #2217FP formats not linked-- still ANSI?
From: Jamshid Afshar
Date: Fri, 21 Dec 1990 01:31
Date: Fri, 21 Dec 1990 01:31
15 lines
1133 bytes
1133 bytes
Borland's Turbo C++ compiler (even in ANSI C mode) for MS-DOS may produce an executable which gives the error "floating point formats not linked", because the linker does not link in the fp code if it does not believe the code will be needed. The problem is it does not always catch the cases where the code is used. Anyway, this is well known and there is a work-around. I am wondering if an ANSI C compiler is allowed to exhibit this behavior. Borland refuses to call it a bug. I don't mean to nitpick or cause Borland grief on this subject (other subjects maybe), but I'm just curious if ANSI left some things about the link phase (if it even mentions one) unspecified. Just curious, Jamshid Afshar jamshid@emx.utexas.edu
Technical Details
Message-ID:
<41712@ut-emx.uucp>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!emx.utexas.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!emx.utexas.edu From: jamshid@emx.utexas.edu (Jamshid Afshar) Newsgroups: comp.std.c Subject: FP formats not linked-- still ANSI? Message-ID: <41712@ut-emx.uucp> Date: 21 Dec 90 01:31:47 GMT Sender: jamshid@ut-emx.uucp Organization: The University of Texas at Austin; Austin, Texas Lines: 15