Re: [Boost-bugs] [Boost C++ Libraries] #6433: Problem in the release mode with the Boost::Regex::Regex_match and search

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6433: Problem in the release mode with the Boost::Regex::Regex_match and search
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-06 16:55:41


#6433: Problem in the release mode with the Boost::Regex::Regex_match and search
-----------------------------------+----------------------------------------
  Reporter: legi0n69@… | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: regex
   Version: Boost 1.48.0 | Severity: Problem
Resolution: worksforme | Keywords:
-----------------------------------+----------------------------------------

Comment (by johnmaddock):

>Anyone knows what is the difference in regex lib in boost 1.45c and 1.51?

 Very little other than some almost-trivial bug fixes. There may well be
 changes to the Regex lib's dependencies though.

 I just tried running the regex lib regression tests with Intel-11.1 and
 Intel-12.1 in release mode (Win32), and all the tests pass for me here.

 Suggest the problem is likely to be:

 1) Linking to the wrong .lib file (are you using the auto-linking
 support?)
 2) Incorrect include path pulling in the wrong Boost version when you
 switched to release mode.
 3) Some other compiler option used in release mode that results in code
 binary-incompatible with the .lib's.

 You could try:

 1) cd into libs/regex/test and do a "bjam toolset=intel release" and make
 sure the tests pass on your machine with your specific Intel revision.
 2) If you can't spot the error from the suggestions above, try defining
 BOOST_REGEX_NO_LIB in your project settings and adding
 libs/regex/src/*.cpp direct to your projects source files.

 HTH, John Maddock.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6433#comment:5>
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:11 UTC