www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.regex memory corruption bug

reply "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
I'm running into a std.regex memory corruption bug in git HEAD:

	https://issues.dlang.org/show_bug.cgi?id=16698

and I can't seem to find a way to work around the problem besides
recompiling with an older compiler.  Any ideas??


T

-- 
I think Debian's doing something wrong, `apt-get install pesticide', doesn't
seem to remove the bugs on my system! -- Mike Dresser
Nov 16 2016
parent Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On 11/17/16 2:22 AM, H. S. Teoh via Digitalmars-d wrote:
 I'm running into a std.regex memory corruption bug in git HEAD:

 	https://issues.dlang.org/show_bug.cgi?id=16698

 and I can't seem to find a way to work around the problem besides
 recompiling with an older compiler.  Any ideas??
It might be an interplay with compiler bug, as for workaround - changing Date[2] to Date[] seems to solve the issue. Would be useful to dustmite this.
 T
Nov 17 2016