Boost logo

Boost Users :

Subject: Re: [Boost-users] Possible bug: regex, lexical_cast
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-12 00:33:35


AMDG

John.X.Foster_at_[hidden] wrote:
> I have come across a bug associated with lexical_cast and regex (though
> the culprit may well be the Visual C++ compiler). I have stripped the code
> to the bare essentials. This worked OK under VC++ 8 (2005), but gives an
> access violation under VC++ 9 (2008). This occurs with both boost 1.39 and
> 1.42.
>
> Simplified code follows:
>
> #define _SECURE_SCL 0
> #define _HAS_ITERATOR_DEBUGGING 0
>

These #defines are probably mismatched between the regex
library and your code.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net