TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: rowan_crowe
date: 1996-06-05 12:46:08
subject: borland bug?

* Paul Edwards writes to All, on Monday June 03 1996
   at 12:12:

 PE> /* This program demonstrates a bug in Borland C++ 3.1 and
 PE>    Turbo C++ 1.0.

 PE>    It comes up with error message:
 PE>  scanf : floating point formats not linked
 PE> Abnormal program termination

 PE>    I can find no way to override this behaviour via a compile
 PE>    time option.

 PE>    If you know the reason for this, please contact Paul Edwards,
 PE>    3:711/934{at}fidonet.
 PE> */

HELPME!.DOC from the Borland C++ 3.1 release

 Q. I get a "floating point formats not linked" message when I run
    my program. What can I do about it?
 A. Floating point formats (for scanf() and related functions) are
    not always linked, for savings in executable size. To force their
    inclusion, put the following somewhere in your source files:

      extern unsigned _floatconvert;
      #pragma extref _floatconvert



I have seen a more in-depth explanation of this "quirk", but I
don't recall where. It may have been in the help files (it was in
electronic form).

Cheers.

---
* Origin: PLEASE NOTE NEW ADDRESS ---> (3:635/728.1)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 728 637/106 711/401
SEEN-BY: 711/409 410 413 430 808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 635/728 727 544 50/99 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.