This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/5316: compliation problem
- From: jianhua dot zhou at informix dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 8 Jan 2002 22:24:08 -0000
- Subject: c++/5316: compliation problem
- Reply-to: jianhua dot zhou at informix dot com
>Number: 5316
>Category: c++
>Synopsis: compliation problem
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 08 14:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Jianhua Zhou
>Release: 3.0.3
>Organization:
>Environment:
RedHat 7.1
>Description:
The follwoing codes has compilation problem on 3.0.3
#include <iostream.h>
#include <fstream.h>
class commsbuf : public filebuf
{
public:
void f1() {
int pb = blen();
char *b = base();
int fd1 = fd();
int y = unbuffered();
int z = out_waiting();
};
};
main()
{
}
which is ok on other C++ compiler and good on 2.91,66
(RedHat 6.2).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: