Subject: [Boost-bugs] [Boost C++ Libraries] #2842: dynamic_bitset.hpp fails to compile with g++ (Ubuntu 4.3.3-5ubuntu2) 4.3.3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-10 19:17:51
#2842: dynamic_bitset.hpp fails to compile with g++ (Ubuntu 4.3.3-5ubuntu2) 4.3.3
------------------------------------+---------------------------------------
Reporter: solusstutlus_at_[hidden] | Owner: gennaro_prota
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: dynamic_bitset
Version: Boost 1.38.0 | Severity: Regression
Keywords: dynamic_bitset |
------------------------------------+---------------------------------------
source/boost/dynamic_bitset/dynamic_bitset.hpp: In member function âsize_t
boost::dynamic_bitset<Block, Allocator>::count() constâ:
source/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: âmodeâ cannot
appear in a constant-expression
source/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: template
argument 1 is invalid
source/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected `>'
before â*â token
source/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected `('
before â*â token
source/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected
primary-expression before â>â token
Seems like this update to gcc does not like const values passed as
parameters to templates...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2842> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC