[random] patch to make random compile with warnings=all

14 Jun
2008
14 Jun
'08
7:42 p.m.
AMDG 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. Ok to commit? In Christ, Steven Watanabe

20 Jun
20 Jun
3:20 a.m.
AMDG Ticket #2026. Since random is marked as no-maintainer, I'm going to go ahead if no one objects. In Christ, Steven Watanabe Steven Watanabe wrote:
AMDG
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.
Ok to commit?
In Christ, Steven Watanabe
6254
Age (days ago)
6261
Last active (days ago)
3 comments
2 participants
participants (2)
-
Beman Dawes
-
Steven Watanabe