Opened 14 years ago

Closed 14 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 14 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)

by anonymous, 14 years ago

Attachment: patchfile.patch added

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

comment:1 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.