bugpng++, a C++ wrapper for libpng - Bugs: bug #45041, Compiler warnings: useless...

 
 

bug #45041: Compiler warnings: useless qualifiers in packed_pixel.hpp

Submitter:  None
Submitted:  Thu 07 May 2015 09:08:00 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 25 Oct 2015 02:49:28 PM UTC, comment #1: 

Thanks, this is clearly an oversight.  I think these meant to be method qualifiers, but given that they are static, it doesn't make any sense.  Removed.

Alexander Shulgin <alexshulgin>
Group administrator
Thu 07 May 2015 09:08:00 AM UTC, original submission:  

In packed_pixel.hpp the const qualifiers for get_bit_depth() and get_bit_mask() have no effect. Some compilers warn the users about this fact – which might confuse them. Removing the const keyword solves the problem.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by alexshulgin (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-10-25 alexshulgin StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code