From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1880 invoked by alias); 21 Feb 2003 20:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1861 invoked by uid 71); 21 Feb 2003 20:16:01 -0000 Resent-Date: 21 Feb 2003 20:16:01 -0000 Resent-Message-ID: <20030221201601.1859.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, jlansford@esri.com Received: (qmail 32174 invoked by uid 48); 21 Feb 2003 20:13:01 -0000 Message-Id: <20030221201301.32173.qmail@sources.redhat.com> Date: Fri, 21 Feb 2003 20:16:00 -0000 From: jlansford@esri.com Reply-To: jlansford@esri.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/9792: fd() member is missing from streambuf class in gcc-3.2.x X-SW-Source: 2003-02/txt/msg01079.txt.bz2 List-Id: >Number: 9792 >Category: libstdc++ >Synopsis: fd() member is missing from streambuf class in gcc-3.2.x >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Feb 21 20:16:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Jason Lansford >Release: gcc 3.2.1 >Organization: >Environment: RedHat 7.3 on x86 with gcc 3.2.1 >Description: #include main() { ifstream *stream = new ifstream("/tmp/xx"); int fd = stream->rdbuf()->fd(); } above program with gcc-2.96.x compiles. When using gcc-3.2.x, get error about fd() member: test.cpp:6: no matching function for call to `std::basic_filebuf >::fd()' >How-To-Repeat: Save above program as test.cpp g++ -c test.cpp >Fix: >Release-Note: >Audit-Trail: >Unformatted: