Bug 53011
| Summary: | Malfunction with seekp and ostringstream | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Randy Cushman <randy.cushman> | ||||||
| Component: | libstdc++ | Assignee: | Jakub Jelinek <jakub> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 7.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i386 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-10-01 15:30:53 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Randy Cushman
2001-09-01 18:47:38 UTC
Created attachment 30554 [details]
sample source code
Created attachment 30678 [details]
gcc-c++-sstream-seek.patch
<sstream> is quite a new header in libstdc++ (added in April 2000, so e.g. libstdc++ 2.95.x does not have it at all) and is incomplete. As g++ 3.0 has a completely new implementation of this anyway, I'm just attaching a quick hack which IMHO should work (you can apply the patch in /usr/include/g++-3/ to test it out). The fix is in 2.96-98. Fixed in gcc-3.2, gcc-3.3, gcc-3.4. |