www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15051] New: Code that runs fine on dpaste.dzfl.pl refuses to

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

          Issue ID: 15051
           Summary: Code that runs fine on dpaste.dzfl.pl refuses to run
                    on dlang.org
           Product: D
           Version: D2
          Hardware: All
               URL: http://dpaste.dzfl.pl/81b0c9d09e3f
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nazriel6969 gmail.com
          Reporter: thecybershadow gmail.com
            Blocks: 12210

E.g.:

----
import std.regex;

static reFloatingPoint = ctRegex!`[0-9]+\.[0-9]+`;

void main() {}
----

When run from dlang.org (click "Edit" under any example, paste code, click
"Run"), it results in:

Compilation output (255: Unknown signal 255)
unable to fork: Cannot allocate memory

However, it runs fine on dpaste.dzfl.pl.

This is blocking e.g. the floating-point example on dlang.org.

--
Sep 12 2015