Bug 56486
Summary: | gcc 2.96-99 refuses to compile legal C++ code | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Peter Klotz <peter.klotz99> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
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: | 2001-11-19 20:06:45 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: |
Description
Peter Klotz
2001-11-19 20:06:39 UTC
libstdc++ v2 (found e.g. in gcc-2.95.x and gcc-2.96-RH) never claimed to be 100% ISO C++ 98 conforming, this is just one of the cases. With g++ 2.95.x you'll get the same result. If you want this to work, you can use gcc 3.0.x (e.g. found in RHL 7.2 gcc3* rpms). |