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.
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';
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?
On 10 October 2013 15:31, Gary Willoughby wrote:
> 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;
> wri