[Boost-bugs] [Boost C++ Libraries] #3046: msvc9 boost::regex crashes with _SECURE_SCL=0

Subject: [Boost-bugs] [Boost C++ Libraries] #3046: msvc9 boost::regex crashes with _SECURE_SCL=0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-19 04:32:46


#3046: msvc9 boost::regex crashes with _SECURE_SCL=0
---------------------------------------------+------------------------------
 Reporter: Sven Olsen <sven2718_at_[hidden]> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: regex
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
---------------------------------------------+------------------------------
 A bunch of my boost::regex code started crashing when I upgraded to from
 msvc8 to msvc9.

 After some frustration, I discovered that I could fix the crashes by
 defining BOOST_NO_STD_ALLOCATOR -- a flag currently defined for msvc8, but
 not msvc9.

 I'm fairly sure that these crashes are due to some subtle bug in the
 microsoft compiler -- though how said bug is related to the std allocator
 issue is unclear to me.

 I've included a small test file and msvs project file that replicate the
 crash.

 I'm running against the boostpro packaged windows installers for 1.38 --
 I'm afraid I'm too pressed for time atm to compile the latest sources
 myself.

 As best I can tell, there have been no changes in 1.39 or the svn that
 would address this bug, but, if it has been fixed in the latest versions,
 I apologize.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3046>
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:00 UTC