Package: libstlport5.2-dev
Version: 5.2.1-5
Severity: normal

It is possible to use std::tr1::weak_ptr and std::tr1::shared_ptr by passing
-D_STLP_USE_BOOST_SUPPORT. But there is an include directive missing in
stlport/stl/type_traits.h (remove_const<T> is used later in that file):

--- stlport/stl/type_traits.h~  2010-10-03 13:58:32.000000000 +0200
+++ stlport/stl/type_traits.h   2010-10-03 13:58:45.000000000 +0200
@@ -67,6 +67,7 @@
 #  include <stl/boost_type_traits.h>
 #  include <boost/type_traits/add_reference.hpp>
 #  include <boost/type_traits/add_const.hpp>
+#  include <boost/type_traits/remove_const.hpp>
 #endif /* _STLP_USE_BOOST_SUPPORT */

 _STLP_BEGIN_NAMESPACE

"Suggests: libboost-dev" could be useful too.

Joachim

-- System Information:
Debian Release: 5.0.6
  APT prefers testing
  APT policy: (950, 'testing'), (800, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-jr9-enterprise-e (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libstlport5.2-dev depends on:
ii  g++ [c++-compiler]            4:4.4.4-2  The GNU C++ compiler
ii  g++-4.3 [c++-compiler]        4.3.5-2    The GNU C++ compiler
ii  g++-4.4 [c++-compiler]        4.4.4-8    The GNU C++ compiler
ii  libstlport5.2                 5.2.1-5    STLport C++ class library

libstlport5.2-dev recommends no packages.

libstlport5.2-dev suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to