16-Bit DOS Extenders (Users)
> I have obtained a copy of the Phar Lap 286/Extender. This seems work well
> with my Borland C++ 3.1 16-Bit DOS application. I have one error when I
> try to format a foating point number using printf for example. The error
> is:
>
> "printf : floating point formats not linked. Abnormal program
> termination"
>
> Does anybody have any idea what header file or library file I need to
> include to remove this error. All other formats (strings, integers)
> worked correctly without error.
It's not a question of header files. You have to force the linker to include the floating point stuff. IIRC there is/was an external "_fltused" which has to be referenced in the source. I also remember with MS VC 1.5, it was sufficient to declare a initialized global floating point variable somewhere, the reference to _fltused was not needed then.
---
MS-DOS forever!
Complete thread:
- 16-Bit DOS Extenders - rsites, 28.01.2008, 18:26 (Users)
- 16-Bit DOS Extenders - Japheth, 28.01.2008, 19:35
- 16-Bit DOS Extenders - RayeR, 28.01.2008, 21:48
- 16-Bit DOS Extenders - rsites, 29.01.2008, 14:12
- 16-Bit DOS Extenders - rr, 29.01.2008, 15:29
- 16-Bit DOS Extenders - rsites, 29.01.2008, 17:57
- 16-Bit DOS Extenders - rr, 29.01.2008, 22:32
- 16-Bit DOS Extenders - Rugxulo, 30.01.2008, 04:37
- 16-Bit DOS Extenders - rsites, 30.01.2008, 14:38
- 16-Bit DOS Extenders - rr, 30.01.2008, 15:05
- 16-Bit DOS Extenders - rsites, 30.01.2008, 14:38
- 16-Bit DOS Extenders - rsites, 29.01.2008, 17:57
- 16-Bit DOS Extenders - rr, 29.01.2008, 15:29
- 16-Bit DOS Extenders - rsites, 29.01.2008, 14:12
- 16-Bit DOS Extenders - RayeR, 28.01.2008, 21:48
- 16-Bit DOS Extenders - Japheth, 28.01.2008, 19:35