public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/9792: fd() member is missing from streambuf class in gcc-3.2.x
@ 2003-02-21 20:31 pme
0 siblings, 0 replies; 2+ messages in thread
From: pme @ 2003-02-21 20:31 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jlansford, nobody
Synopsis: fd() member is missing from streambuf class in gcc-3.2.x
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Feb 21 20:31:33 2003
State-Changed-Why:
No such member in the standard. See
http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#11
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9792
^ permalink raw reply [flat|nested] 2+ messages in thread
* libstdc++/9792: fd() member is missing from streambuf class in gcc-3.2.x
@ 2003-02-21 20:16 jlansford
0 siblings, 0 replies; 2+ messages in thread
From: jlansford @ 2003-02-21 20:16 UTC (permalink / raw)
To: gcc-gnats
>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 <fstream.h>
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<char,
std::char_traits<char> >::fd()'
>How-To-Repeat:
Save above program as test.cpp
g++ -c test.cpp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-21 20:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21 20:31 libstdc++/9792: fd() member is missing from streambuf class in gcc-3.2.x pme
-- strict thread matches above, loose matches on Subject: below --
2003-02-21 20:16 jlansford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).