Bug 181894
Summary: | Optimization level on g++ affects warnings for unused parameters | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Fritz Boehm <fritz> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | aoliva, jan.iven | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i586 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2006-0454 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-07-20 14:32:46 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 181405 | ||||||
Attachments: |
|
Description
Fritz Boehm
2006-02-17 16:42:20 UTC
Created attachment 124822 [details]
simple C++ program that shows the gcc behavior
This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 3.8 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 3.8 release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0454.html It looks like this g++ version now complains about unused parameters in system files: /usr/include/c++/3.2.3/i386-redhat-linux/bits/codecvt_specializations.h:84: warning: unused parameter `int __ibom' /usr/include/c++/3.2.3/i386-redhat-linux/bits/codecvt_specializations.h:84: warning: unused parameter `int __ebom' /usr/include/c++/3.2.3/bits/locale_facets.h:1014: warning: unused parameter ` size_t __refs' ... (this is also reported as Issue#99250) |