Bug 157190 - g++4 compiler emits warning for construct in .../bits/locale_facets.tcc:1115
g++4 compiler emits warning for construct in .../bits/locale_facets.tcc:1115
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks: 164807
  Show dependency treegraph
 
Reported: 2005-05-09 02:45 EDT by roebel
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 3.4.4-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-05 04:45:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description roebel 2005-05-09 02:45:02 EDT
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 Jakub Jelinek 2005-05-27 11:23:27 EDT
Should be fixed in gcc-3.4.4-1.

Note You need to log in before you can comment on or make changes to this bug.