This is the mail archive of the gcc-prs@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]
Other format: [Raw text]

c++/5316: compliation problem



>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:


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