Boost Users :
Subject: Re: [Boost-users] [regex] link errors on 1.60 update
From: Matthieu Brucher (matthieu.brucher_at_[hidden])
Date: 2016-01-05 11:48:35
Small question. Is this also activated on Windows? I didn't see the
name mangling in other libraries, or is this only in regex?
2015-12-24 9:01 GMT+00:00 John Maddock <jz.maddock_at_[hidden]>:
> On 23/12/2015 22:36, James Walker wrote:
>> When I tried to convert my project from Boost 1.58.0 to 1.60.0, I got some
>> link errors. This is using Xcode 4.6.3 on Mac OS X 10.7.5. I'm compiling
>> all the sources in libs/regex/src. Help?
>> Undefined symbols for architecture i386:
>> "boost::re_detail_106000::perl_matcher<char const*,
>> std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char,
>> boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char,
>> boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&,
>> boost::regex_constants::_match_flags)", referenced from:
> My suspicion is that you are linking to the wrong version of libboost_regex:
> from 1.60 onwards the symbols are all mangled with the Boost version number
> so this is the error you get if you happened to have say 1.58 still in your
> search path.
> HTH, John.
> Boost-users mailing list
-- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net