Package: libboost1.35-dev Version: 1.35.0-5 Severity: important
If I create the 2-line file giltest.cpp containing: #include <typeinfo> #include <boost/gil/gil_all.hpp> And compile it with g++-4.2 -c giltest.cpp then there are no errors reported. However g++-4.3 -c giltest.cpp emits: --- In file included from /usr/include/boost/gil/bit_aligned_pixel_iterator.hpp:28, from /usr/include/boost/gil/algorithm.hpp:27, from /usr/include/boost/gil/gil_all.hpp:27, from giltest.cpp:2: /usr/include/boost/gil/bit_aligned_pixel_reference.hpp:160: error: declaration of ‘const boost::gil::bit_range<boost::gil::bit_aligned_pixel_reference<B, C, L, M>::bit_size, IsMutable>& boost::gil::bit_aligned_pixel_reference<B, C, L, M>::bit_range() const’ /usr/include/boost/gil/bit_aligned_pixel_reference.hpp:46: error: changes meaning of ‘bit_range’ from ‘class boost::gil::bit_range<boost::gil::bit_aligned_pixel_reference<B, C, L, M>::bit_size, IsMutable>’ --- With g++-4.2 it doesn't even need the typeinfo include, but that helps avoid some other errors from the 4.3 compile to do with std::bad_cast. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libboost1.35-dev depends on: ii libboost-serialization1.35-de 1.35.0-5 serialization library for C++ ii libc6 2.7-10 GNU C Library: Shared libraries ii libgcc1 1:4.3.0-5 GCC support library ii libicu38 3.8.1-1 International Components for Unico ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3 ii libstdc++6-4.2-dev [libstdc++ 4.2.4-1 The GNU Standard C++ Library v3 (d ii libstdc++6-4.3-dev [libstdc++ 4.3.0-5 The GNU Standard C++ Library v3 (d Versions of packages libboost1.35-dev recommends: ii libboost-date-time1.35-dev 1.35.0-5 set of date-time libraries based o ii libboost-filesystem1.35-dev 1.35.0-5 filesystem operations (portable pa ii libboost-graph1.35-dev 1.35.0-5 generic graph components and algor ii libboost-iostreams1.35-dev 1.35.0-5 Boost.Iostreams Library developmen ii libboost-program-options1.35- 1.35.0-5 program options library for C++ ii libboost-python1.35-dev 1.35.0-5 Boost.Python Library development f ii libboost-regex1.35-dev 1.35.0-5 regular expression library for C++ ii libboost-signals1.35-dev 1.35.0-5 managed signals and slots library ii libboost-test1.35-dev 1.35.0-5 components for writing and executi ii libboost-thread1.35-dev 1.35.0-5 portable C++ multi-threading ii libboost-wave1.35-dev 1.35.0-5 C99/C++ preprocessor library ii libboost1.35-doc 1.35.0-5 Boost.org libraries documentation -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]