Template constraint error.

2013-10-10 Thread Gary Willoughby
Using Debian7, gcc-4.8, gdc-4.8 from the `testing main` debian source. import std.stdio; class Bar(T) if (is(T == int)) { this() { writefln(T.stringof); } } class Foo(T) : Bar!(int)

Error: undefined identifier executeShell

2013-10-10 Thread Gary Willoughby
Using Debian7, gcc-4.8, gdc-4.8 from the `testing main` debian source. import std.stdio; import std.process; void main() { string x = executeShell("uname").output; writefln(x); } $ gdc test.d -o test test.d:6: Error: unde