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: "'Martin v. Loewis'" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: RE: Internal compiler error 980331 on SCO openserver 5
- From: Colin Fletcher <Colin dot Fletcher at telus dot com>
- Date: Thu, 17 Feb 2000 16:09:13 -0700
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
Sorry for my *newbie* oversite.
I have since corrected the problem.
-Colin
-----Original Message-----
From: Martin v. Loewis [mailto:martin@loewis.home.cs.tu-berlin.de]
Sent: Thursday, February 17, 2000 4:03 PM
To: Colin.Fletcher@telus.com
Cc: gcc-bugs@gcc.gnu.org
Subject: 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