Louis Lenders wrote:
Alex Villacís Lasso <a_villacis <at> palosanto.com> writes:
Robert Shearman wrote:
Alex Villacís Lasso wrote:
Last weekend, I was trying to trace down bug #5245 (Run-Time error '6' overflow in terragen). With current CVS, the bug manifests itself with an "Overflow" dialog when starting up Terragen. However, this bug does *not* go away with a native oleaut32.dll (taken from win98),
Isn't this just a bug in msvcrt? WINEDLLOVERRIDES="msvrt=n" wine Terragen.exe works fine
Confirmed, using native MSVCRT.DLL from Windows 98 "fixes" the bug. Now there is somewhere to look. Possibly the floating point behavior of wine's msvcrt.dll (math.c) differs from native, or else some flags are modified and not restored correctly. Need more tests to pinpoint the root cause (_matherr() ??).
Alex Villacís Lasso