Re: [Boost-bugs] [Boost C++ Libraries] #5632: regex::str() method broken

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5632: regex::str() method broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-07 19:07:54

#5632: regex::str() method broken
  Reporter: Chris Burghart <burghart@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: regex
   Version: Boost 1.46.0 | Severity: Problem
Resolution: | Keywords: regex basic_regex str

Comment (by Chris Burghart <burghart@…>):

 Stepping through the str() call pointed out my problem, when I saw that
 the headers being used were coming from a Boost installation under
 /usr/local (a Boost 1.44 copy which I did not realize was there). I
 thought I only had Boost 1.46 from a standard package installation under

 With no special compiler flags, the 1.44 headers were being loaded from
 /usr/local/include, but the program was linking with the 1.46 library in
 /usr/lib. That seems to trigger the problem, likely related to different
 inlined implementations of boost::basic_regex::str().

 Regardless, things work correctly if I build strictly with either the 1.44
 copy of Boost or the 1.46 copy. I.e., it's my own dang fault.

 Sorry for the trouble!

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

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