Boost C++ Libraries: Ticket #10917: min conflict in transform_width.hpp https://svn.boost.org/trac10/ticket/10917 <p> line 156: unsigned int i = std::min(missing_bits, m_remaining_bits); </p> <p> maybe use: unsigned int i = (std::min)(missing_bits, m_remaining_bits); </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10917 Trac 1.4.3 Michel Morin Wed, 07 Jan 2015 11:34:09 GMT owner, component changed https://svn.boost.org/trac10/ticket/10917#comment:1 https://svn.boost.org/trac10/ticket/10917#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">jeffrey.hellrung</span> to <span class="trac-author">Robert Ramey</span> </li> <li><strong>component</strong> <span class="trac-field-old">iterator</span> → <span class="trac-field-new">serialization</span> </li> </ul> Ticket anonymous Wed, 07 Jan 2015 18:15:56 GMT <link>https://svn.boost.org/trac10/ticket/10917#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10917#comment:2</guid> <description> <p> could you give a little more info? Compile time/Runtime error, error message, etc.... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Michel Morin</dc:creator> <pubDate>Fri, 09 Jan 2015 18:00:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10917#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10917#comment:3</guid> <description> <p> Boost has <a href="http://www.boost.org/development/requirements.html#Directory_structure">documentation</a> for it: </p> <blockquote> <p> Make sure your code compiles in the presence of the <code>min()</code> and <code>max()</code> macros. Some platform headers define <code>min()</code> and <code>max()</code> macros which cause some common C++ constructs to fail to compile. Some simple tricks can protect your code from inappropriate macro substitution: </p> </blockquote> <ul><li>If you want to call <code>std::min()</code> or <code>std::max()</code>: <ul><li>If you do not require argument-dependent look-up, use <code>(std::min)(a,b)</code>. </li></ul></li></ul><blockquote> <p> ... </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Fri, 24 Apr 2015 22:27:42 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10917#comment:4 https://svn.boost.org/trac10/ticket/10917#comment:4 <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> Ticket