How to list all version identifiers?

Timothee Cour via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 15 10:24:30 PDT 2016


would be easy with compiler as a library...
also i thought 'dmd -v -version=foo -c -o- bar.d' would show -version
identifiers used on the command line but doesn't seem to

On Tue, Mar 15, 2016 at 8:51 AM, Iakh via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

> On Sunday, 13 March 2016 at 20:16:36 UTC, Basile B. wrote:
>
>> On Sunday, 13 March 2016 at 16:28:50 UTC, Iakh wrote:
>>
>>> On Sunday, 13 March 2016 at 15:50:47 UTC, Basile B. wrote:
>>>
>>>> trivial answer, let's say you have dcd-server running in the background:
>>>>
>>>> dcd-client -c8 <<< "version("
>>>>
>>>
>>> Thanks. Will try.
>>>
>>
>> But it was a joke actually. It works but this is not very
>> straightforward. And it needs a bit of post processing since the output
>> you'll get is normally made for the completion menu of D editors.
>>
>
> Looks like it shows all version identifiers listed in
> https://dlang.org/spec/version.html#version
> and it's not what I want. I need just actual ones under some
> compiler/circumstances
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20160315/b99fce9b/attachment.html>


More information about the Digitalmars-d-learn mailing list