Re: Error: undefined identifier executeShell

2013-10-10 Thread Dicebot
On Thursday, 10 October 2013 at 15:17:55 UTC, Iain Buclaw wrote: pragma(msg, __VERSION__); Yeah, I mean without creating temporary file and compiling it ;) Not really big deal, but sounds quite trivial and will simplify some tooling.

Re: Error: undefined identifier executeShell

2013-10-10 Thread Iain Buclaw
On 10 October 2013 16:13, Dicebot wrote: > On Thursday, 10 October 2013 at 14:59:05 UTC, Iain Buclaw wrote: >> >> ... > > > That reminds me - is there a gdc flag that makes it print used D front-end > version? pragma(msg, __VERSION__); -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';

Re: Error: undefined identifier executeShell

2013-10-10 Thread Dicebot
On Thursday, 10 October 2013 at 14:59:05 UTC, Iain Buclaw wrote: ... That reminds me - is there a gdc flag that makes it print used D front-end version?

Re: Error: undefined identifier executeShell

2013-10-10 Thread Iain Buclaw
uteShell("uname").output; > writefln(x); > } > > $ gdc test.d -o test > > test.d:6: Error: undefined identifier executeShell > /usr/include/d/4.8/std/range.d:611: Error: static assert "Cannot put a > char[] into a Appender!(string)" > /usr/include/

Error: undefined identifier executeShell

2013-10-10 Thread Gary Willoughby
d:6: Error: undefined identifier executeShell /usr/include/d/4.8/std/range.d:611: Error: static assert "Cannot put a char[] into a Appender!(string)" /usr/include/d/4.8/std/format.d:1440:instantiated from here: put!(Appender!(string), char[]) /usr/include/d/4.8/std/format.d:1342: