This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 980331 on SCO openserver 5
- To: Colin dot Fletcher at telus dot com
- Subject: Re: Internal compiler error 980331 on SCO openserver 5
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 18 Feb 2000 00:03:03 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <322FF556BC61D31189E40008C745F85F02052F61@ex2.ent.agt.ab.ca>
> If any further info is required, please let me know.
Thanks for your bug report. gcc-2.95.2 says
Socket.cc: At top level:
Socket.cc:42: ANSI C++ forbids declaration `operator <<' with no type
This is because this function doesn't declare a return type, as it
should in Standard C++.
Socket.cc: In method `int Socket::operator <<(const char *)':
Socket.cc:46: aggregate value used where an integer was expected
[more errors]
Here, you probably meant EOF instead of eof. It seems that the bug in
gcc has been fixed.
Regards,
Martin