Re: [Boost-bugs] [Boost C++ Libraries] #6405: Assertion exception thrown when using boost::regex_match

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6405: Assertion exception thrown when using boost::regex_match
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-13 10:59:14


#6405: Assertion exception thrown when using boost::regex_match
-------------------------------+-------------------------
  Reporter: ses44@… | Owner: johnmaddock
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: regex
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by anonymous):

 John, I think we have just found the reason and solved the problem!

 As you could see in the post above, the command line for building boost
 contains the directive: '''define=_SECURE_SCL=0'''. But nor our testing
 project, nor the project we've met this problem firstly, did not contain
 it.

 So simply adding the line "_SECURE_SCL=0" to '''C/C++ - Preprocessor -
 Preprocessor definitions''' in project properties stopped throwing
 exceptions.

 ''I think this article may be usefull for anyone browsing Internet and
 trying to find a solution of a similar trouble: {{{preshing.com/20110807
 /the-cost-of-_secure_scl}}}''

 '''THANK YOU VERY MUCH AGAIN FOR ALL YOUR HELP! '''

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