12 Apr
2010
12 Apr
'10
4:33 a.m.
AMDG John.X.Foster@nab.com.au 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