[xml] RE: Link error in libxml 2.6.7 on Win32: ftol2


Put the following in some cpp file and compile your project.
Original link: 

// only for MSDEV 6.0
#if (_MSC_VER == 1200) && (WINVER < 0x0500)
extern "C" long _ftol( double ); //defined by VC6 C libs
extern "C" long _ftol2( double dblSource ) { return _ftol( dblSource );

Best regards,

Emanuel Dejanu

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]