Login  Register

Re: HOWTO: Compiling LibreCAD with Visual Studio 2003 (and Qt 4.3.1 ...)

Posted by dxli on May 20, 2012; 3:31pm
URL: https://forum.librecad.org/HOWTO-Compiling-LibreCAD-with-Visual-Studio-2003-and-Qt-4-3-1-tp5108768p5706666.html

I tried again with visual studio 2010, added some fixes for msvc here:

https://github.com/dxli/LibreCAD/tree/msvc

However, I still have no idea about this error as Martin found:

at line 316 of file:

https://github.com/LibreCAD/LibreCAD/blob/master/libraries/jwwlib/src/jwwdoc.h

basically, msvc complains that more than one overloaded functions matches:

std::ofstream << (double) x;

msvc complains that it could match both of the following:

std::ofstream << double
std::ofstream << long double

looks like msvc should have "long double" and "double" both as 8-byte floating point.

it's very puzzling to me.