Index: boost/date_time/gregorian_calendar.ipp warning: equality comparison with extraneous parentheses [-Wparentheses] note: use '=' to turn this equality comparison into an assignment note: remove extraneous parentheses around the comparison to silence this warning =================================================================== --- boost/date_time/gregorian_calendar.ipp (revision 69071) +++ boost/date_time/gregorian_calendar.ipp (working copy) @@ -47,7 +47,7 @@ return week; } - if ((week == 53)) { + if (week == 53) { if((day==6) ||(day == 5 && is_leap_year(ymd.year))) { return week; //under these circumstances week == 53. } else {