[Bug 429343] [NEW] boost library dynamic_bitset.hpp fails to compile

Joris Mooij j.mooij at science.ru.nl
Mon Sep 14 12:36:35 UTC 2009


Public bug reported:

Binary package hint: libboost1.37-dev

The header file boost/dynamic_bitset.hpp in libboost1.37-dev fails to
compile with g++ 4.3.3 on Ubuntu 9.04.

Software versions affected:
Ubuntu 9.04, with packages 'libboost1.37-dev' and 'g++' installed
apt-cache policy libboost1.37-dev returns version 1.37.0-3ubuntu3
apt-cache policy g++ returns version 4:4.3.3-1ubuntu1

Reproducing the problem:
$ echo '#include <boost/dynamic_bitset.hpp>' > a.cpp
$ g++ --version
g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3
[...]
$ g++ a.cpp
In file included from /usr/include/boost/dynamic_bitset.hpp:15,
                 from a.cpp:1:
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function ‘size_t boost::dynamic_bitset<Block, Allocator>::count() const’:
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: ‘mode’ cannot appear in a constant-expression
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: template argument 1 is invalid
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected `>' before ‘*’ token
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected `(' before ‘*’ token
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected primary-expression before ‘>’ token

** Affects: boost1.37 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
boost library dynamic_bitset.hpp fails to compile
https://bugs.launchpad.net/bugs/429343
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list