Boost C++ Libraries: Ticket #2688: missing include for date_defs.hpp in filetime_functions.hpp, trivial fix, patch included https://svn.boost.org/trac10/ticket/2688 <p> When building boost with the latest mingw gcc from <a class="ext-link" href="http://www.tdragon.net/recentgcc/"><span class="icon">​</span>http://www.tdragon.net/recentgcc/</a> (4.3.2) I get an error about "Jan" not being defined for its use on line 163 of filetime_functions.hpp </p> <p> 163: date_type d = date_type(1601, Jan, 01) + dd; </p> <p> Adding an include #include &lt;boost/date_time/date_defs.hpp&gt; fixes this. </p> <p> Patch is included </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2688 Trac 1.4.3 anonymous Wed, 28 Jan 2009 22:18:53 GMT attachment set https://svn.boost.org/trac10/ticket/2688 https://svn.boost.org/trac10/ticket/2688 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patchfile.patch</span> </li> </ul> <p> simplified patch file (original version had lots of extra lines due to different line endings) </p> Ticket Andrey Semashev Thu, 29 Jan 2009 17:44:54 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2688#comment:1 https://svn.boost.org/trac10/ticket/2688#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/50876" title="Added missing #include. Fixed #2688.">[50876]</a>) Added missing #include. Fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2688" title="#2688: Bugs: missing include for date_defs.hpp in filetime_functions.hpp, trivial ... (closed: fixed)">#2688</a>. </p> Ticket