digitalmars.D.learn - How to list all version identifiers?
- Iakh (5/5) Mar 13 2016 There is trick for gcc:
- Basile B. (4/9) Mar 13 2016 trivial answer, let's say you have dcd-server running in the
- Iakh (2/5) Mar 13 2016 Thanks. Will try.
- Basile B. (5/11) Mar 13 2016 But it was a joke actually. It works but this is not very
- Iakh (3/15) Mar 13 2016 Maybe it is what I'm searching for if there is a way to specify
- Iakh (5/17) Mar 15 2016 Looks like it shows all version identifiers listed in
- Timothee Cour via Digitalmars-d-learn (5/26) Mar 15 2016 would be easy with compiler as a library...
There is trick for gcc: gcc -dM -E - < /dev/null It shows all default #defines Is there way to show all version identifiers for D? For all or any compiler you know
Mar 13 2016
On Sunday, 13 March 2016 at 15:15:22 UTC, Iakh wrote:There is trick for gcc: gcc -dM -E - < /dev/null It shows all default #defines Is there way to show all version identifiers for D? For all or any compiler you knowtrivial answer, let's say you have dcd-server running in the background: dcd-client -c8 <<< "version("
Mar 13 2016
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.
Mar 13 2016
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: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.trivial answer, let's say you have dcd-server running in the background: dcd-client -c8 <<< "version("Thanks. Will try.
Mar 13 2016
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:Maybe it is what I'm searching for if there is a way to specify compiler/parser.On Sunday, 13 March 2016 at 15:50:47 UTC, Basile B. wrote: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.trivial answer, let's say you have dcd-server running in the background: dcd-client -c8 <<< "version("Thanks. Will try.
Mar 13 2016
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: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/circumstancesOn Sunday, 13 March 2016 at 15:50:47 UTC, Basile B. wrote: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.trivial answer, let's say you have dcd-server running in the background: dcd-client -c8 <<< "version("Thanks. Will try.
Mar 15 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 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: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/circumstancesOn Sunday, 13 March 2016 at 15:50:47 UTC, Basile B. wrote: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.trivial answer, let's say you have dcd-server running in the background: dcd-client -c8 <<< "version("Thanks. Will try.
Mar 15 2016