pfister_rob@mtblue.dec.com (Robert Pfister ASO/4AG-ME DTN 271-6925...waning half moon in 2 days) (02/09/88)
[bi bi bi bi bi bi bi bi bi -- Zippy ] I am writting stuff in high gear with M2Amiga compared to the near brain death development cycle before with MCC Pascal....Anyhow M2Amiga has some weird things that I'd consider undocumented features (b*gs?) I've had the compiler crash on me several quite often (never a guru tho) for things like line 1111 exceptions, internal divide by zero, and something along the lines of `couldn't allocate register.' In some cases, fixing the previous syntax errors solves the problem (I can handle that), but in the case of `couldn't allocate register', the guilty party was a compound function call that had to be broken into variables... ie: Foo(TRUNC(16*red),TRUNC(16*green),TRUNC(16*blue)) had to be broken into r:=TRUNC(16*red); b:=TRUNC(16*blue); g:=TRUNC(16*green); Foo(r,g,b); It seems with the LONGREAL type, expressions have to be broken up in a similar fashion to avoid syntax errors. I'm real happy with the development environment of M2Amiga, but I'm kinda wary of seeing the `compiler crash' msg. Is there any hope of updates for M2Amiga that might fix some of these things? or should I learn to live with it? Robb +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-++=-=-=-=-=-=-=-=-=-=-=-=-=-=+ |Robert Pfister Digital Equipment Corp || Home | +------------------------------------------------++---------------------------+ |Email: Pfister_Rob%Dneast.dec@decwrl.dec.com || Rfd#3 Box 2340 | |Enet: Dneast::Pfister_Rob || Waterville, Maine 04901 | |Werk fone: 207-623-6925 dtn: 271-6925 || (207)-873-3520 | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-++=-=-=-=-=-=-=-=-=-=-=-=-=-=+
cs178abu@sdcc8.ucsd.EDU (John Schultz) (02/13/88)
I've gotten the Benchmark M2 compiler to generate the "register allocation error" as well. It would appear that the two compilers are using the same basic code as defined by Wirth. If you have the dough, check out the Benchmark compiler. From what has been presented from various sources, (eg Amazing Computing, the net), Benchmark is the premium development environment on the Amiga (Symbolic debugger RSN as well). John