public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/7219: Abstent ios_base::streamoff and ios_base::streampos types
@ 2002-07-06 4:56 dens
0 siblings, 0 replies; 2+ messages in thread
From: dens @ 2002-07-06 4:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 7219
>Category: libstdc++
>Synopsis: Abstent ios_base::streamoff and ios_base::streampos types
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 06 04:56:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Denis Nagorny
>Release: gcc3-c++-3.0.1-3
>Organization:
>Environment:
Linux RedHat 7.2(Enigma)
gcc3-c++-3.0.1-3
libstdc++3-3.0.1-3
>Description:
C++ standard (D.6 1,5,6) obliges to define ios_base::streamoff and ios_base::streampos types.
You don't do it. Try to compile attached sample.
>How-To-Repeat:
Try to compile attached sample.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oaW50LGNoYXIqW10pCnsKCXN0ZDo6aW9zOjpz
dHJlYW1wb3Mgc3BvczsKCXN0ZDo6aW9zOjpzdHJlYW1vZmYgc29mZjsKCXJldHVybiAwOwp9Cg==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libstdc++/7219: Abstent ios_base::streamoff and ios_base::streampos types
@ 2002-07-24 15:55 bkoz
0 siblings, 0 replies; 2+ messages in thread
From: bkoz @ 2002-07-24 15:55 UTC (permalink / raw)
To: bkoz, dens, gcc-bugs, gcc-prs, nobody
Synopsis: Abstent ios_base::streamoff and ios_base::streampos types
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Wed Jul 24 15:55:09 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Wed Jul 24 15:55:09 2002
State-Changed-Why:
Fixed with this:
2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7219
* testsuite/27_io/ios_base_type.cc: New.
* include/bits/ios_base.h (ios_base::streampos): Add.
(ios_base::streamoff): Add.
Note that this doesn't expose the types by default: you'll have to rebuild with CXXFLAGS='-D_GLIBCPP_DEPRECATED'
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7219
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-24 22:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-06 4:56 libstdc++/7219: Abstent ios_base::streamoff and ios_base::streampos types dens
2002-07-24 15:55 bkoz
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).