Subject: [Boost-bugs] [Boost C++ Libraries] #2026: random does not compile on gcc with -ansi -pedantic
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-20 02:51:49
#2026: random does not compile on gcc with -ansi -pedantic
-----------------------------+----------------------------------------------
Reporter: steven_watanabe | Owner: no-maintainer
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: random
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
-----------------------------+----------------------------------------------
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 TypeTraits version.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2026>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC