Your message dated Sun, 3 Aug 2008 00:09:23 -0500
with message-id <[EMAIL PROTECTED]>
and subject line boost::smatch::captures() not available
has caused the Debian Bug report #437740,
regarding libboost-regex1.34.0: boost::smatch::captures( int i ) is not defined
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
437740: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437740
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Hello,
The example you tried [1] exercises an *experimental* feature. At the
end of the page we see:
Unfortunately enabling this feature has an impact on performance
(even if you don't use it), and a much bigger impact if you do use
it, therefore to use this feature you need to:
* Define BOOST_REGEX_MATCH_EXTRA for all translation units including
the library source (the best way to do this is to uncomment this
define in boost/regex/user.hpp and then rebuild everything.
The Debian packages are *NOT* built with BOOST_REGEX_MATCH_EXTRA, and
given the caveat about performance, I do not think we will do so.
Regards,
-Steve
[1]
http://www.boost.org/doc/libs/1_35_0/libs/regex/doc/html/boost_regex/captures.html
signature.asc
Description: Digital signature
--- End Message ---