id summary reporter owner description type status milestone component version severity resolution keywords cc 5252 Remove extraneous parentheses around '==' if-expression chandlerc@… "Without this patch, Clang produces the following warning: % clang++ -fsyntax-only -Wparentheses -I . boost/date_time/gregorian_calendar.hpp In file included from boost/date_time/gregorian_calendar.hpp:63: ./boost/date_time/gregorian_calendar.ipp:50:15: warning: equality comparison with extraneous parentheses [-Wparentheses] if ((week == 53)) { ~~~~~^~~~~ ./boost/date_time/gregorian_calendar.ipp:50:15: note: use '=' to turn this equality comparison into an assignment if ((week == 53)) { ^~ = ./boost/date_time/gregorian_calendar.ipp:50:15: note: remove extraneous parentheses around the comparison to silence this warning if ((week == 53)) { ~ ^ ~ 1 warning generated. " Patches closed To Be Determined date_time Boost Development Trunk Problem duplicate