Date: Mon, 31 Jan 1994 09:49:16 -0500 From: garym AT vered DOT rose DOT utoronto DOT ca (Gary Lawrence Murphy) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Weird messages I will need to keep whacking at this as the project was due for delivery today :-(, but it seems I took one step too far somewhere and now all my C++ code blows up the compilation with the message gcc -g2 -Wall -DNDEBUG -c demo.cc i:/cca01718:747: Error: Rest of line ignored. First ignored character is `<'. i:/cca01718:764: Error: Rest of line ignored. First ignored character is `<'. i:/cca01718:781: Error: Rest of line ignored. First ignored character is `<'. make.exe: *** [demo.o] Error 1 Seems I'm generating ungrokkable asm code, but where remains a mystery. This occured after adding iostreams, and at first I thought it might be because I tried to define a virtual function 'printOn()' for a template class, in hopes the friend function ostream& operator<<(ostream&s,Coordinate) would handle the ints, and a similar for and &c. Is this the correct way to declare an ostream operator for a template class? --- anyway, I removed that bit of questionable code and still my code gets blown out by AS ... I'm posting here on the off chance this is a familiar symptom ... any and all recommendations and suggestions are most welcome. Gary Lawrence Murphy ----------------- garym AT virtual DOT rose DOT utoronto DOT ca University of Toronto ---------- 4 Taddle Creek, Toronto, Ont M5S 1A4 Human Factors, Ind Engineering ------------ fax/voice: (416) 978-3776 ----------------------- The true destination is always just here, now