Our template emission strategy is broken

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 11 15:57:23 PST 2015


On Wednesday, 11 November 2015 at 23:44:04 UTC, Robert burner 
Schadek wrote:
> On Wednesday, 11 November 2015 at 13:47:27 UTC, Johannes Pfau 
> wrote:
>> A quick workaround could be enabling the GC for DDMD. IIRC I 
>> read somewhere on github that the segfaulting code was 
>> actually rewritten now and the GC might just work.
>
> I just run make -f posix.mak unittest -j10 on phobos after 
> removing GC.disable() from ddmd. It worked just fine. 
> Everything build everything passed the tests.
>
> (the time program told 1:41.25 for nogc and 1:49.80 with gc. 
> This is with running all the tests.)
>
> Shouldn't we at least add a command line switch to dmd to 
> activate the GC.

if it works, shouldn't the runtime 
CLI(http://dlang.org/changelog/2.067.0.html#gc-options) just be 
used to manually deactivate it if needed?


More information about the Digitalmars-d mailing list