I've been trying to get Visual C++ 6 to work under Wine. It does seem to work for trivial programs with wine 0.9.6. It fails to compile anything with floating-point constants in the source because _atoldbl in msvcrt.dll is not implemented. I've attached a patch with a trivial implementation of that function. With the patch, I'm able to compile trivial programs with floating-point math. However, for any real application, I'm getting internal compiler errors.
Hi Jason, Just a small comment here. Jason Kraftcheck wrote:
--- wine-0.9.6/dlls/msvcrt/math.c 2006-01-19 08:14:03.000000000 -0600 +++ mod/dlls/msvcrt/math.c 2006-02-03 17:52:12.403905962 -0600 <snip> @@ -1190,3 +1200,70 @@ { TRACE("(): stub\n"); } + +/********************************************************************* + * _atoldbl (MSVCRT.@) + * + * Convert a string to a long double w/out using any floating-point + * instructions. Called by cl.exe + */ +int _atoflt( float* value, char* str )
I guess this is cut'n'paste... the comment doesn't match the definition. Cheers, Cihan
participants (2)
-
Cihan Altinay -
Jason Kraftcheck