Modify

Ticket #2688 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

missing include for date_defs.hpp in filetime_functions.hpp, trivial fix, patch included

Reported by: anonymous Owned by: az_sw_dude
Milestone: Boost 1.38.0 Component: date_time
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

When building boost with the latest mingw gcc from  http://www.tdragon.net/recentgcc/ (4.3.2) I get an error about "Jan" not being defined for its use on line 163 of filetime_functions.hpp

163: date_type d = date_type(1601, Jan, 01) + dd;

Adding an include #include <boost/date_time/date_defs.hpp> fixes this.

Patch is included

Attachments

patchfile.patch Download (389 bytes) - added by anonymous 5 years ago.
simplified patch file (original version had lots of extra lines due to different line endings)

Change History

Changed 5 years ago by anonymous

simplified patch file (original version had lots of extra lines due to different line endings)

comment:1 Changed 5 years ago by andysem

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

(In [50876]) Added missing #include. Fixed #2688.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.