Modify

Opened 9 years ago

Closed 9 years ago

#2688 closed Bugs (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by anonymous

Attachment: patchfile.patch added

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

comment:1 Changed 9 years ago by Andrey Semashev

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain az_sw_dude.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.