Re: [Boost-bugs] [Boost C++ Libraries] #3546: Regex: bizarre behaviour in basic_regex::do_assign with MSVC 2008

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3546: Regex: bizarre behaviour in basic_regex::do_assign with MSVC 2008
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-04 18:04:13


#3546: Regex: bizarre behaviour in basic_regex::do_assign with MSVC 2008
--------------------------------------------------+-------------------------
  Reporter: Keith MacDonald <keith@…> | Owner: johnmaddock
      Type: Bugs | Status: reopened
 Milestone: Boost 1.41.0 | Component: regex
   Version: Boost 1.40.0 | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------------------+-------------------------

Comment(by johnmaddock):

 Unfortunately I don't have access to MFC here, so I can't reproduce. The
 only thing I can think of to check is whether the CmdTestFind object is
 valid when CmdTestFind::exec is called: try adding a sentry integer value
 to the object which gets initialised to a unique value when the object is
 constructed, and reset to zero when it is destroyed. Then you can check
 the value inside CmdTestFind::exec to verify it's being called for a valid
 object.

 Otherwise the most likely cause is a binary compatibity issue: try adding
 the regex .cpp files (in boost-path/libs/regex/src) directly to your
 project, and then adding BOOST_REGEX_NO_LIB to the projects #defines.

 If that doesn't work I'm stumped unless you can provide a console app that
 demonstrates the issue.

 HTH, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3546#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC