id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1095,GCC warnings with -Wsign-promo,Joaquín M López Muñoz,Daniel James,"The mere inclusion of produces warnings in GCC for Boost 1.34 when -Wsign-promo is set: In file included from /.../boost/functional/hash.hpp:10, from ... /.../boost/functional/hash/hash.hpp: In member function `size_t boost::hash::operator()(bool) const': /.../boost/functional/hash/hash.hpp:353: warning: passing `bool' chooses `int' over `long unsigned int' [...] In Boost 1.33.1, the warnings only appear when hash, hash, hash or hash are instantiated --the difference between that 1.33.1 and 1.34 is that the latter automatically instantiates a number of specialization for integral types, among them the offending ones. Although the warnings seem unharmful, it'd be great if they can be silenced by providing overloads of hash_value for all C++ integral types, so that no integral promotions occur.",Bugs,closed,Boost 1.35.0,hash,Boost 1.34.0,Cosmetic,fixed,,