next up previous
Next: C.1.2 Including header.h Up: Compiler bugs Previous: Compiler bugs

C.1.1 Testing for success of compilation

GR: 25.4.95
-----------
GR> 
GR> My example program produced this:
GR> 
GR> 4 tomato:~/ucpp.test/bridge> uc++ t1.uc++
GR> Checking availability of machines specified in the configuration file UCConfig.
GR> Attempting compilation on tomato.cs.ucl.ac.uk sparc-sun-sunos4.1.x.
GR> t1.uc++: In function `int ApplicationMain(int, char **)':
GR> t1.uc++:51: Internal compiler error.
GR> t1.uc++:51: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
GR> Compilation successful on tomato.cs.ucl.ac.uk sparc-sun-sunos4.1.x.
GR> ^^^^^^^^^^^^^^^^^^^^^^
GR> 
GR> Compilation control needs tweeking.

RW 25.4.95
----------
RW> Graham,
RW>
RW>This problem is both trivial and horrendous to fix.
RW>
RW>It is trivial since I forgot to add a check for the execute bit on the
RW>binary!  It is complicated as it seems impossible to get the return
RW>value of a job back from an rsh!
RW>
RW>The actual error is from g++, I hope it stems from your code not UC++!
RW>
RW>Russel.



Jonathan Poole
Tue Jun 27 16:38:45 BST 1995