id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8693,gcc -Wcast-qual warning in boost/range/algorithm_ext/push_back.hpp,ruboam@…,Neil Groves,"When trying boost range library with -Wcast-qual and -Werror flags enabled the following error comes up boost/range/algorithm_ext/push_back.hpp:30:18: error: cast from type 'const Range*' to type 'void*' casts away qualifiers [-Werror=cast-qual] BOOST_ASSERT( (void*)&on != (void*)&from && ..... &from is a pointer to const object so the C-style cast (void*)&from casts away of constness. I think this can be fixed by replacing C-style cast by const_cast(static_cast(&from)) or by adding GCC pragmas to disable -Wcast-qual warning in this header file ",Bugs,closed,To Be Determined,range,Boost 1.53.0,Cosmetic,fixed,,