[pkg-boost-devel] Bug#646580: libboost1.46-dev: boost thread and C++0X
Marc Glisse
marc.glisse at normalesup.org
Tue Oct 25 11:17:18 UTC 2011
Package: libboost1.46-dev
Version: 1.46.1-7
Severity: minor
Hello,
with gcc-snapshot 20111023-1 and option -std=c++0x, the following fails
to compile:
#include <boost/thread.hpp>
I tested with boost trunk and the problem is fixed there. 1.47 still has
the issue. Copying a new version of boost/smart_ptr/shared_ptr.hpp seems
sufficient, although boost commit 73202 also seems to modify weak_ptr
and shared_array.
I set the severity to minor because I don't think using gcc-snapshot
(with an experimental option at that) is supported and g++-4.7 is not
for tomorrow. But it does force me to copy a newer boost file into my
project.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libboost1.46-dev depends on:
ii libc6 2.13-21
ii libgcc1 1:4.6.1-15
ii libicu44 4.4.2-2
ii libstdc++6 4.6.1-15
ii libstdc++6-4.2-dev [libstdc++-dev] 4.2.4-6
ii libstdc++6-4.4-dev [libstdc++-dev] 4.4.6-11
ii libstdc++6-4.5-dev [libstdc++-dev] 4.5.3-9
ii libstdc++6-4.6-dev [libstdc++-dev] 4.6.1-15
libboost1.46-dev recommends no packages.
Versions of packages libboost1.46-dev suggests:
ii default-jdk 1:1.6-43
ii docbook-xml 4.5-7
ii docbook-xsl 1.75.2+dfsg-5
ii doxygen 1.7.4-4
ii fop 1:1.0.dfsg2-3
ii libboost-date-time1.46-dev 1.46.1-7
ii libboost-filesystem1.46-dev 1.46.1-7
ii libboost-graph-parallel1.46-dev 1.46.1-7
ii libboost-graph1.46-dev 1.46.1-7
ii libboost-iostreams1.46-dev 1.46.1-7
ii libboost-math1.46-dev 1.46.1-7
ii libboost-mpi1.46-dev 1.46.1-7
ii libboost-program-options1.46-dev 1.46.1-7
ii libboost-python1.46-dev 1.46.1-7
ii libboost-random1.46-dev 1.46.1-7
ii libboost-regex1.46-dev 1.46.1-7
ii libboost-serialization1.46-dev 1.46.1-7
ii libboost-signals1.46-dev 1.46.1-7
ii libboost-system1.46-dev 1.46.1-7
ii libboost-test1.46-dev 1.46.1-7
ii libboost-thread1.46-dev 1.46.1-7
ii libboost-wave1.46-dev 1.46.1-7
ii libboost1.46-doc <none>
ii xsltproc 1.1.26-8
-- no debconf information
More information about the pkg-boost-devel
mailing list