diff --git a/include/boost/unordered/detail/buckets.hpp b/include/boost/unordered/detail/buckets.hpp index 232944b0..31e1ee59 100644 --- a/include/boost/unordered/detail/buckets.hpp +++ b/include/boost/unordered/detail/buckets.hpp @@ -583,12 +583,12 @@ namespace boost { namespace unordered { namespace detail { // TODO: Maybe not if std::size_t is smaller than long long. #if !defined(BOOST_NO_LONG_LONG) template <> - struct pick_policy { + struct pick_policy { typedef prime_policy type; }; template <> - struct pick_policy { + struct pick_policy { typedef prime_policy type; }; #endif diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index b6a362dc..e31f1534 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -11,9 +11,9 @@ project unordered-test/unordered intel:on # Would be nice to define -Wundef, but I'm getting warnings from # Boost.Preprocessor on trunk. - gcc:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow -Wno-long-long" + gcc:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow" darwin:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow" - clang:"-pedantic -Wextra -Wno-long-long" + clang:"-pedantic -Wextra" ; #alias framework : /boost/test//boost_unit_test_framework ;