Issue 123693

Summary: const type qualifier on return type has no effect
Product: General Reporter: hdu <hdu>
Component: codeAssignee: hdu <hdu>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P4 CC: issues
Version: 4.0.1   
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 122766    

Description hdu@apache.org 2013-11-15 16:05:35 UTC
The C++ standard requests that non-class type rvalues are never const-qualified. All compilers still allow it but warn about the confusing construct and ignore it.
Comment 1 SVN Robot 2013-11-18 09:45:33 UTC
"hdu" committed SVN revision 1542958 into trunk:
#i123693# WaE: const type qualifier ignored on return value
Comment 2 hdu@apache.org 2013-11-18 10:06:15 UTC
The commit above fixed a lot of noisy warning (117 times on LX64). Mostly because the often-used zformat header file is used a lot and its problems were reported every time it was included.
Comment 3 SVN Robot 2014-01-08 09:10:28 UTC
"hdu" committed SVN revision 1556469 into trunk:
#i123693# WaE: const type qualifier ignored on return value
Comment 4 hdu@apache.org 2014-01-08 09:14:23 UTC
And the commit above fixes another 70 warnings, all caused by the one method OOXMLStream::getIDForXNoteStream() requesting a nonsensical "const" for its integer return value.
Comment 5 hdu@apache.org 2014-04-01 12:28:50 UTC
Closing the resolved issue.