id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4919,gil_concept.hpp triggers self-assignment warnings,gromer@…,Stefan Seefeld,"boost/gil/gil_concept.hpp contains several instances of assigning a variable to itself. In context, this is perfectly safe (since the code should never actually be executed), but it nonetheless triggers gcc's -Wself-assign, cluttering the build output for those who have that flag set, and breaking the build for those who also set -Werror. I am unable to suggest a fix for the instance in PointNDConcept, because the line in question (""point[0] = point[0];"", line 276) appears to be checking properties that are not part of the concept as documented; I can find no documentation of the fact that models of PointNDConcept are expected to have an operator[], much less what the parameter and return types of that operator are. The attached patch contains trivial fixes for the other instances, which I believe have no impact on correctness or performance.",Patches,closed,Boost 1.68.0,gil USE GITHUB,Boost 1.45.0,Problem,fixed,,mateusz@…