[pkg-boost-devel] Bug#581706: boost/lambda/construct.hpp is missing a #include of boost/type_traits.hpp

Daniel Burrows dburrows at debian.org
Sat May 15 05:11:50 UTC 2010


Package: libboost1.42-dev
Version: 1.42.0-3
Severity: normal

  This file doesn't compile with "g++ -c":

--- cut here ---
#include <boost/lambda/construct.hpp>
--- cut here ---

  I get these errors:

/usr/include/boost/lambda/construct.hpp: In static member function ‘static void boost::lambda::detail::destructor_helper<IsPointer>::exec(A1&)’:
/usr/include/boost/lambda/construct.hpp:98: error: ‘remove_cv’ in namespace ‘boost’ does not name a type
/usr/include/boost/lambda/construct.hpp:98: error: expected unqualified-id before ‘<’ token
/usr/include/boost/lambda/construct.hpp: In static member function ‘static void boost::lambda::detail::destructor_helper<true>::exec(A1*)’:
/usr/include/boost/lambda/construct.hpp:108: error: ‘remove_cv’ in namespace ‘boost’ does not name a type
/usr/include/boost/lambda/construct.hpp:108: error: expected unqualified-id before ‘<’ token
/usr/include/boost/lambda/construct.hpp: In member function ‘void boost::lambda::destructor::operator()(A1&) const’:
/usr/include/boost/lambda/construct.hpp:122: error: ‘remove_cv’ in namespace ‘boost’ does not name a type
/usr/include/boost/lambda/construct.hpp:122: error: expected unqualified-id before ‘<’ token
/usr/include/boost/lambda/construct.hpp:123: error: ‘is_pointer’ is not a member of ‘boost’
/usr/include/boost/lambda/construct.hpp:123: error: ‘is_pointer’ is not a member of ‘boost’
/usr/include/boost/lambda/construct.hpp:123: error: ‘plainA1’ was not declared in this scope
/usr/include/boost/lambda/construct.hpp:123: error: template argument 1 is invalid
/usr/include/boost/lambda/construct.hpp:123: error: expected initializer before ‘>’ token


  Note the references to an undefined name boost::remove_cv.  This is
defined over in the type traits stuff, so I tried this and it worked:

--- cut here ---
#include <boost/type_traits.hpp>
#include <boost/lambda/construct.hpp>
--- cut here ---

  Probably the #include should be added to construct.hpp.

  Daniel

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-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.42-dev depends on:
ii  libc6                         2.10.2-7   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-1  GCC support library
ii  libicu42                      4.2.1-3    International Components for Unico
ii  libstdc++6                    4.4.4-1    The GNU Standard C++ Library v3
ii  libstdc++6-4.4-dev [libstdc++ 4.4.4-1    The GNU Standard C++ Library v3 (d

libboost1.42-dev recommends no packages.

Versions of packages libboost1.42-dev suggests:
pn  default-jdk                <none>        (no description available)
ii  docbook-xml                4.5-7         standard XML documentation system 
ii  docbook-xsl                1.75.2+dfsg-5 stylesheets for processing DocBook
pn  doxygen                    <none>        (no description available)
pn  fop                        <none>        (no description available)
pn  libboost-date-time1.42-dev <none>        (no description available)
pn  libboost-filesystem1.42-de <none>        (no description available)
pn  libboost-graph-parallel1.4 <none>        (no description available)
pn  libboost-graph1.42-dev     <none>        (no description available)
ii  libboost-iostreams1.42-dev 1.42.0-3      Boost.Iostreams Library developmen
pn  libboost-math1.42-dev      <none>        (no description available)
pn  libboost-mpi1.42-dev       <none>        (no description available)
pn  libboost-program-options1. <none>        (no description available)
ii  libboost-python1.42-dev    1.42.0-3      Boost.Python Library development f
ii  libboost-regex1.42-dev     1.42.0-3      regular expression library for C++
ii  libboost-serialization1.42 1.42.0-3      serialization library for C++
pn  libboost-signals1.42-dev   <none>        (no description available)
pn  libboost-system1.42-dev    <none>        (no description available)
ii  libboost-test1.42-dev      1.42.0-3      components for writing and executi
pn  libboost-thread1.42-dev    <none>        (no description available)
pn  libboost-wave1.42-dev      <none>        (no description available)
ii  libboost1.42-doc           1.42.0-3      Boost.org libraries documentation
ii  xsltproc                   1.1.26-3      XSLT command line processor

-- no debconf information





More information about the pkg-boost-devel mailing list