www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Missed functions in libraries

↑ ↓ ← Wlodzimierz Skiba <abx abx.art.pl> writes:
Hi,

I recently verified compilation of MegaPOV (command line version) with 
Digital Mars C++ compiler/linker and found two problems:
- function atof is in headers but is not in linked library
- function unlink is in headers but is not in linked library
More details can be found at: 
http://megapov.inetart.net/manual/binaries.html#windows_compile

Is there any simple explanation for this or some ommision on my side?

ABX
Jan 03 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
I'll check it out. Thanks.

(unlink() is no longer necessary, use the standard function remove())

"Wlodzimierz Skiba" <abx abx.art.pl> wrote in message
news:av4k31$2a0l$1 digitaldaemon.com...
 Hi,

 I recently verified compilation of MegaPOV (command line version) with
 Digital Mars C++ compiler/linker and found two problems:
 - function atof is in headers but is not in linked library
 - function unlink is in headers but is not in linked library
 More details can be found at:
 http://megapov.inetart.net/manual/binaries.html#windows_compile

 Is there any simple explanation for this or some ommision on my side?

 ABX

Jan 03 2003
↑ ↓ "Włodzimierz Skiba" <abx abx.art.pl> writes:
"Walter" <walter digitalmars.com> wrote in 
news:av4mov$2bhd$1 digitaldaemon.com:
 I'll check it out. Thanks.

I will also try to make a GUI version of MegaPOV/POV-Ray. I hope there will be no more problems.
 (unlink() is no longer necessary, use the standard function remove())

I already wrote it at mentioned url :-)
 http://megapov.inetart.net/manual/binaries.html#windows_compile


Also for atof I used workaround with sscanf() to get working binaries. #if defined( __DMC__ ) && defined( LACK_OF_ATOF_IN_DMC_PATCH ) if (sscanf( Local_C_String, "%g", &Val)!=1) { Error("Wrong float value"); } #else Val = atof(Local_C_String); #endif ABX
Jan 03 2003
↑ ↓ → "Walter" <walter digitalmars.com> writes:
strtod() is a much better replacement for atof().

"Włodzimierz Skiba" <abx abx.art.pl> wrote in message
news:av4ngj$2bje$1 digitaldaemon.com...
 Also for atof I used workaround with sscanf() to get working binaries.

Jan 03 2003