Boost C++ Libraries: Ticket #2026: random does not compile on gcc with -ansi -pedantic https://svn.boost.org/trac10/ticket/2026 <p> boost/random/detail/signed_unsigned_tools.hpp has specializations of make_unsigned for long long. gcc rejects this when compiling with -ansi -pedantic. The attached patch replaces random::detail::make_unsigned with the <a class="missing wiki">TypeTraits</a> version. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2026 Trac 1.4.3 Steven Watanabe Fri, 20 Jun 2008 02:52:06 GMT attachment set https://svn.boost.org/trac10/ticket/2026 https://svn.boost.org/trac10/ticket/2026 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">random.patch</span> </li> </ul> Ticket Steven Watanabe Fri, 20 Jun 2008 21:08:08 GMT owner changed https://svn.boost.org/trac10/ticket/2026#comment:1 https://svn.boost.org/trac10/ticket/2026#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">No-Maintainer</span> to <span class="trac-author">Steven Watanabe</span> </li> </ul> Ticket Steven Watanabe Fri, 20 Jun 2008 21:08:18 GMT status changed https://svn.boost.org/trac10/ticket/2026#comment:2 https://svn.boost.org/trac10/ticket/2026#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Steven Watanabe Sat, 21 Jun 2008 16:07:45 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2026#comment:3 https://svn.boost.org/trac10/ticket/2026#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/46580" title="Replace random's make_unsigned with the type_traits version. Fixes #2026">[46580]</a>) Replace random's make_unsigned with the type_traits version. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2026" title="#2026: Bugs: random does not compile on gcc with -ansi -pedantic (closed: fixed)">#2026</a> </p> Ticket