herwin@pro-novapple.cts.com (Harry Erwin) (01/25/91)
I was asked for a list of bugs in Orca C 1.1 -- at least the ones that I have found. 1. lseek is miscoded. It can be patched, but you have to know the parameters to the GSOS seek call. Currently it does an LDA 08, when it should do a LDA from the stack. 2. If j is a long automatic variable, j++ and j-- are mishandled. The stack gets corrupted. Avoid. Those are the two bugs I've found. I understand other people have found a few other problems. Mike W. knows about these, but I have no idea when he will be getting back to Orca C. I use Orca C a lot to port UNIX C code, and it works pretty well except for the lack of a curses library. I've been working on that for some time... I also use Orca C to port MS-DOS C programs. Harry Erwin -->Remember, no good deed goes unpunished... proline:pro-novapple!herwin uucp: crash!pro-novapple!herwin arpa: crash!pro-novapple!herwin@nosc.mil Telenet: herwin/trw Internet: herwin@pro-novapple.cts.com alternate Internet: /PN=Harry.Erwin/O=TRW/ADMD=Telemail/C=US/@Sprint.com
neufeld@physics.utoronto.ca (Christopher Neufeld) (01/27/91)
I found one, and confirmed with the tech support line. The compiler makes a mistake when trying to compile: <ptr> -= <int> or <ptr> += <int> You should use, instead, <ptr> = <ptr> -/+ <int> Has anybody written assembly language C-functions to permit arithmetic operations on floats or doubles which are not converted to extended format first, to speed things up? I am planning to write a function float fadd(float x, float y) and further operations along the same lines, which does not make use of the SANE toolset. -- Christopher Neufeld....Just a graduate student | "Shtarker! Zis is KAOS! neufeld@helios.physics.utoronto.ca Ad astra! | Vee do not 'yippee yo cneufeld@{pnet91,pro-cco}.cts.com | kye aye' here!" "Don't edit reality for the sake of simplicity" | Siegfried of KAOS