Ticket #2842: dynamic_bitset.patch
File dynamic_bitset.patch, 926 bytes (added by , 13 years ago) |
---|
-
boost/dynamic_bitset/dynamic_bitset.hpp
999 999 using detail::dynamic_bitset_impl::access_by_blocks; 1000 1000 using detail::dynamic_bitset_impl::value_to_type; 1001 1001 1002 #if BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ >= 3) 1003 // NOTE: Explicitly qualificationf of "bits_per_block" 1004 // breaks compilation on gcc 4.3.3 1005 const bool no_padding = bits_per_block == CHAR_BIT * sizeof(Block); 1006 #else 1002 1007 // NOTE: Explicitly qualifying "bits_per_block" to workaround 1003 1008 // regressions of gcc 3.4.x 1004 1009 const bool no_padding = 1005 1010 dynamic_bitset<Block, Allocator>::bits_per_block 1006 1011 == CHAR_BIT * sizeof(Block); 1012 #endif 1007 1013 1008 1014 const bool enough_table_width = table_width >= CHAR_BIT; 1009 1015