Opened 6 years ago

Closed 6 years ago

#5250 closed Patches (fixed)

Tiny warning removal for date_time

Reported by: chrisj Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:


The attached patch changes 'if ((week == 53))' to 'if (week == 53)'. This is because clang++ warns about the double brackets.

It warns because double brackets are the traditional way of stopping the warning in statements like ' if (week = 53) ' (notice single =).

Attachments (1)

date_time.patch (466 bytes) - added by chrisj 6 years ago.
Patch to boost/date_time/gregorian_calendar.ipp

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by chrisj

Patch to boost/date_time/gregorian_calendar.ipp

comment:1 Changed 6 years ago by marshall

Applied in [70769]

comment:2 Changed 6 years ago by marshall

  • Resolution set to fixed
  • Status changed from new to closed

(In [70985]) Merge date/time fixes to release. Fixes #5250

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain az_sw_dude.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.