RE: 2.4 alpha-test release
- Posted by Andy Serpa <ac at onehorseshy.com> Oct 26, 2002
- 499 views
Robert Craig wrote: > Andy Serpa writes: > > Are you saying translated programs compiled with Watcom > > can call cdecl unmodified? If that's what you are saying, > > then yes, I have counter-examples... > > Using exw.exe, or translated code compiled by Watcom, > you should currently be able to call cdecl routines compiled by > most C compilers, but (very strangely) *not* those compiled by > Watcom itself. Watcom's version of cdecl differs > (in the area of floating-point return values) from most other > C compilers. There may be other non-standard C compilers > out there as well. > I'm pretty sure I've gotten the same crashes under compiled-by-Watcom as I did when compiled-by-Borland on at least two libraries. Most did seem to work with the interpreter, though. (Maybe not all Watcoms are the same? I am using the Watcom upgrade along with the libs taken from Hutch's MASM as suggested by Euman a long time ago. Or maybe it is not just Watcom .dll's it doesn't like.) Give me a day or two and I'll put some stuff together and send it to you...