Re: module std.regex

2013-12-31 Thread Dmitry Olshansky
31-Dec-2013 00:03, Benji пишет: On Monday, 30 December 2013 at 19:27:43 UTC, Dmitry Olshansky wrote: 30-Dec-2013 22:08, Benji пишет: Hello, when I try to run following code: [snip] This is part of core developers discussion and isn't something easily tweaked (else it would've been already fi

Re: module std.regex

2013-12-30 Thread Benji
/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped) It's a bug in 2.064-2 when using shared library. You as end user can't do much about it - wait for the next release where

Re: module std.regex

2013-12-30 Thread Dmitry Olshansky
30-Dec-2013 22:08, Benji пишет: Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module &#

Re: module std.regex

2013-12-30 Thread Benji
rror while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped) Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should

Re: module std.regex

2013-12-30 Thread John Colvin
phobos2.so.0.64': The module 'std.regex' is already defined in './maina'. Segmentation fault (core dumped) Somewhere I read that this should fix it: - Make ModuleInfos immutable, which is something we should do anyhow. But what are "ModuleInfos" ? Where I can fi

module std.regex

2013-12-30 Thread Benji
Hello, when I try to run following code: import std.stdio; import std.net.curl; void main() { writeln("dlang.org"); } I get following error: Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': The module 'std.regex'