[gnu.g++.bug] problem with g++-1.36

vasey@cellar.ACA.MCC.COM (Ron Vasey) (10/25/89)

[Posted for adrian@cellar.aca.mcc.com]

I have just compiled g++-1.36 on a sun3 running sunos3.5. However, when I
tested the compiler with c++-suite-1.00, the compiler failed and somehow
it doesn't recognize the main routine. The following is the g++'s messgae
when I tried to compile a006.C in c++-suite-1.00/standard/a:

a006.C: In function void xlbind (struct Node *, struct Node *, struct Node *):a006.C:57: warning: assignment of integer from pointer lacks a cast
a006.C:58: warning: assignment of integer from pointer lacks a cast
a006.o: Undefined symbol ___main referenced from text segment

Can anybody tell me what's wrong with the compiler?  The message which
mention ___main is an undefined symbol seems strange.

Adrian
adrian@mcc.com