Boost logo

Boost :

From: Yitzhak Sapir (Yitzhak.Sapir_at_[hidden])
Date: 2008-03-13 06:12:54

> Yitzhak Sapir wrote:
> > If the #ifdef in instances.hpp is changed to #if 0, I get the
> > following:
> >
> /tmp/cc7hZEMV.o(.gnu.linkonce.t._ZN5boost11basic_regexIcNS_12r
> egex_traitsIcNS_16cpp_regex_traitsIcEEEEE6assignEPKcS7_j+0x22):
> > In function `boost::basic_regex<char, boost::regex_traits<char,
> > boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
> > unsigned)':
> >> undefined reference to `boost::basic_regex<char,
> >> boost::regex_traits<char, boost::cpp_regex_traits<char> >
> >> >::do_assign(char const*, char const*, unsigned)'
> > collect2: ld returned 1 exit status

This is wrong. I guess I must have not passed the library itself when I compiled
this. When I now compile it with the above change only (#if 0 instead of #ifdef
BOOST_REGEX_BUGGY_CTYPE_FACET in the appropriate line in
boost/regex/v4/instances.hpp), the code compiles and links fine.

Yitzhak Sapir

This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail.
Thank you for your cooperation.

Boost list run by bdawes at, gregod at, cpdaniel at, john at