Bug 164807

Summary: g++4 compiler emits warning for construct in .../bits/locale_facets.tcc:1115
Product: Red Hat Enterprise Linux 4 Reporter: Elena Zannoni <ezannoni>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-677 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-05 11:18:21 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: 157190    
Bug Blocks: 156322    

Description Elena Zannoni 2005-08-01 16:05:49 UTC
+++ This bug was initially created as a clone of Bug #157190 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Description of problem:
compiling with ostream and -Wall emits the following warning for a construct 
within the system headers: 
 
/usr/include/c++/3.4.3/bits/locale_facets.tcc:1115: warning: suggest 
parentheses around assignment used as truth value 

Version-Release number of selected component (if applicable):
gcc4-c++-4.0.0-0.41.fc3


How reproducible:
Always

Steps to Reproduce:
1. compile c++ source file using ostream include file 
2. use -Wall flag when compiling 
3. 
   

Actual Results:  compiler emits warning  

Expected Results:  compiler should be happy with the system headers. 

Additional info:

Comment 1 Red Hat Bugzilla 2005-10-05 11:18:21 UTC
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-2005-677.html