mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Fixing the fix by taking into account __GNUC_PATCHLEVEL__ as well
[SVN r52880]
This commit is contained in:
@@ -999,7 +999,7 @@ dynamic_bitset<Block, Allocator>::count() const
|
||||
using detail::dynamic_bitset_impl::access_by_blocks;
|
||||
using detail::dynamic_bitset_impl::value_to_type;
|
||||
|
||||
#if BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ == 3)
|
||||
#if BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ == 3) && (__GNUC_PATCHLEVEL__ == 3)
|
||||
// NOTE: Explicitly qualification of "bits_per_block"
|
||||
// breaks compilation on gcc 4.3.3
|
||||
const bool no_padding = bits_per_block == CHAR_BIT * sizeof(Block);
|
||||
|
||||
Reference in New Issue
Block a user