[pkg-boost-devel] Bug#437740: libboost-regex1.34.0: boost::smatch::captures( int i ) is not defined

Robert Jeffrey Miesen bobby_miesen at yahoo.com
Mon Aug 13 22:30:05 UTC 2007


Package: libboost-regex1.34.0
Version: 1.34.0-1+b1
Severity: normal

Attempting to use boost::smatch::captures( int i ) in a program (as a member method call, not a class method call) results in my compiler complaining that above method, which according to boost's documentation exists, doesn't exist. I attempted to compile the example found at http://boost.org/libs/regex/doc/captures.html in the "Repeated Captures" section and attempted to compile it with:

$ g++ -o boostRegex -lboost_regex main.cpp



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (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 libboost-regex1.34.0 depends on:
ii  libc6                   2.6-2            GNU C Library: Shared libraries
ii  libgcc1                 1:4.2-20070712-1 GCC support library
ii  libicu36                3.6-3            International Components for Unico
ii  libstdc++6              4.2-20070712-1   The GNU Standard C++ Library v3

libboost-regex1.34.0 recommends no packages.

-- no debconf information




More information about the pkg-boost-devel mailing list