Re: ver 4.0 c_func problem on WIN98 Here Is proof of the problem !
- Posted by jimcbrown (admin) Apr 23, 2009
- 1177 views
mattlewis said...
This is gonna be a fun bug. The code works correctly for me on XP when I build a debug version of eui.exe, but it displays the reported behavior when built in release mode.
Matt
I was able to get an acceptable patch by changing the printfs into snprintfs.
The nature of the bug makes me think that Watcom is optimizing the value of iresult or return_type away.