Opened 13 years ago

Closed 12 years ago

#4025 closed Bugs (fixed)

dynamic_bitset.hpp fails on gcc 4.0

Reported by: habdank@… Owned by: Gennaro Prota
Milestone: Boost 1.43.0 Component: dynamic_bitset
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

Dears,

Bits set is might be compiled for gcc 4.3, 4.1, but not on 4.0.

boost/dynamic_bitset/dynamic_bitset.hpp: In instantiation of 'boost::dynamic_bitset<long unsigned int, std::allocator<std::_Bit_type> >':

[...]

../../../../externals/boost/dynamic_bitset/dynamic_bitset.hpp:57: error: 'boost::detail::dynamic_bitset_impl::allowed_block_type<long unsigned int>::<anonymous enum>' is/uses anonymous type ../../../../externals/boost/dynamic_bitset/dynamic_bitset.hpp:57: error: trying to instantiate 'template<class T> struct boost::is_integral'

Best regards, Seweryn Habdank-Wojewodzki.

Attachments (1)

dynamic_bitset.hpp.patch (618 bytes ) - added by Steven Watanabe 13 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Steven Watanabe, 13 years ago

Interesting. This doesn't show up in the regression tests. http://www.boost.org/development/tests/trunk/developer/dynamic_bitset.html.

Does the patch I'm about to attach fix it?

by Steven Watanabe, 13 years ago

Attachment: dynamic_bitset.hpp.patch added

comment:2 by Steven Watanabe, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in [62897].

Note: See TracTickets for help on using tickets.