This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Internal compiler error 980331 on SCO openserver 5


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]