Internal compiler error 980331 on SCO openserver 5

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu Feb 17 15:07:00 GMT 2000


> 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


More information about the Gcc-bugs mailing list