Boost C++ Libraries: Ticket #1881: max() & min() macros are leaking from <windows.h> into entire project https://svn.boost.org/trac10/ticket/1881 <p> Macros max() &amp; min() are leaking out of &lt;Windows.h&gt; through boost/thread library, ruining every language construction with words "max" or "min". My solution was to define NOMINMAX before including every boost header. Problems began after upgrading boost from 1.34 to 1.35. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1881 Trac 1.4.3 anonymous Tue, 29 Apr 2008 14:31:13 GMT <link>https://svn.boost.org/trac10/ticket/1881#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1881#comment:1</guid> <description> <p> Futhermore, windows macros "near" and "far" are also active with boost. It's devastating :-) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Anthony Williams</dc:creator> <pubDate>Thu, 08 May 2008 15:16:04 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1881#comment:2 https://svn.boost.org/trac10/ticket/1881#comment:2 <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">duplicate</span> </li> </ul> <p> This is a duplicate of issue <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1825" title="#1825: Bugs: thread.hpp injects windows.h and breaks user application. (closed: fixed)">#1825</a> </p> Ticket anonymous Sat, 26 Dec 2015 23:30:35 GMT attachment set https://svn.boost.org/trac10/ticket/1881 https://svn.boost.org/trac10/ticket/1881 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">ExternalDisplay-1.zip</span> </li> </ul> Ticket anonymous Sat, 26 Dec 2015 23:30:44 GMT attachment set https://svn.boost.org/trac10/ticket/1881 https://svn.boost.org/trac10/ticket/1881 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">ExternalDisplay-1.2.zip</span> </li> </ul> Ticket