|
Boost : |
From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2003-10-09 09:07:52
John Maddock wrote:
> I guess, however the code has changed so much since the last
> release, that it's hard to tell what effect such a change might have
> - are you able to give the latest cvs code a test?
I grabbed the hourly tarball snapshot of the cvs tree
dated 03-10-09-0400.
Do you plan to continue to support configurations/platforms lacking
exceptions (through boost::throw_exception)?
If so, what would the replacement to this be:
#ifdef BOOST_REGEX_NON_RECURSIVE
}
catch(...)
{
// unwind all pushed states, apart from anything else this
// ensures that all the states are correctly destructed
// not just the memory freed.
while(unwind(true)){}
throw;
}
#endif
Regards,
Angus
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/regex/src -I../../../../src -I../../../../../boost -I/usr/X11R6/include -g -O -fno-exceptions -W -Wall -c ../../../../../boost/libs/regex/src/cregex.cpp -MT cregex.lo -MD -MP -MF .deps/cregex.TPlo
../../../../../boost/boost/regex/v4/perl_matcher_common.hpp: In member function
`bool boost::re_detail::perl_matcher<BidiIterator, Allocator, traits,
Allocator2>::match() [with BidiIterator = const char*, Allocator =
std::allocator<boost::sub_match<const char*> >, traits =
boost::regex_traits<char>, Allocator2 = std::allocator<char>]':
../../../../../boost/boost/regex/v4/regex_match.hpp:51: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results<Iterator, Allocator>&, const boost::reg_expression<charT, traits, Allocator2>&, boost::regex_constants::_match_flags) [with BidiIterator = const char*, Allocator = std::allocator<boost::sub_match<const char*> >, charT = char, traits = boost::regex_traits<char>, Allocator2 = std::allocator<char>]'
../../../../../boost/libs/regex/src/cregex.cpp:219: instantiated from here
../../../../../boost/boost/regex/v4/perl_matcher_common.hpp:130: exception
handling disabled, use -fexceptions to enable
make: *** [cregex.lo] Error 1
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk