Boost C++ Libraries: Ticket #3897: Test framework does not include <osreldate.h> before testing __FreeBSD_version https://svn.boost.org/trac10/ticket/3897 <p> The file boost/test/impl/execution_monitor.ipp tests <span class="underline">FreeBSD_version without including &lt;osreldate.h&gt; first. This causes compilation warnings about preprocessor symbol redefinitions. </span></p> <p> Patch to fix the problem: </p> <p> diff -dur boost_1_42_0.orig/boost/test/impl/execution_monitor.ipp boost_1_42_0/boost/test/impl/execution_monitor.ipp --- boost_1_42_0.orig/boost/test/impl/execution_monitor.ipp 2009-11-28 20:19:18.000000000 +1100 +++ boost_1_42_0/boost/test/impl/execution_monitor.ipp 2010-02-04 21:23:20.301652051 +1100 @@ -155,6 +155,7 @@ </p> <blockquote> <p> # include &lt;setjmp.h&gt; </p> </blockquote> <blockquote> <p> # if defined(<span class="underline">FreeBSD</span>) </p> </blockquote> <p> +# include &lt;osreldate.h&gt; </p> <blockquote> <p> # ifndef SIGPOLL # define SIGPOLL SIGIO </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3897 Trac 1.4.3 Steven Watanabe Fri, 11 Jun 2010 01:33:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3897#comment:1 https://svn.boost.org/trac10/ticket/3897#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/62780" title="#include &lt;osreldate.h&gt; on FreeBSD. Fixes #3897">[62780]</a>) #include &lt;osreldate.h&gt; on FreeBSD. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3897" title="#3897: Bugs: Test framework does not include &lt;osreldate.h&gt; before testing ... (closed: fixed)">#3897</a> </p> Ticket chmeeedalf+boost@… Tue, 25 Jun 2013 20:53:12 GMT <link>https://svn.boost.org/trac10/ticket/3897#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3897#comment:2</guid> <description> <p> Can somebody please merge this into the branches? It's not in as of 1.54-Beta1 that I can see, and it causes Boost to fail to build on non-x86 FreeBSD. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 14 Dec 2013 09:24:22 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/3897#comment:3 https://svn.boost.org/trac10/ticket/3897#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> Ticket anonymous Sat, 14 Dec 2013 09:25:47 GMT <link>https://svn.boost.org/trac10/ticket/3897#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3897#comment:4</guid> <description> <p> Reopen for merge request. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 03 Nov 2015 13:17:40 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/3897#comment:5 https://svn.boost.org/trac10/ticket/3897#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost 1.60.0</span> </li> </ul> <p> Milestone set to 1.60, but fix appeared in 1.59. </p> Ticket