August 03 Learn » Re: Get compile time string of dmd command line options "-os" & "-target" | |||
|---|---|---|---|
| |||
First, I will note that "windows" and "aarch64" are not in the same category... Second... | |||
August 03 Learn » Re: Get compile time string of dmd command line options "-os" & "-target" | |||
|---|---|---|---|
| |||
...Windows)
enum os = "windows";
else version(AArch64)
enum os = "aarch64";
else
static assert(0, "unsupported... | |||
August 01 Learn » Get compile time string of dmd command line options "-os" & "-target" | |||
|---|---|---|---|
| |||
...foo_windows.enum."));
else version(AArch64)
mixin(import("foo_aarch64.enum"));
else
static assert(0... | |||
August 01 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...foo_windows.enum"));
else version(AArch64)
mixin(import("foo_aarch64.enum"));
else
static assert(0... | |||
July 31 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...AArch64:
```
enum FOO {
A = 5,
B = 6,
version (x86_64) {
C = 7,
} else version (AArch64... | |||
July 30 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...version (x86_64) {
C = 7,
} else version (AArch64) {
C = 17,
} else {
static assert(0);
}
version... | |||
July 30 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...x86_64) {
enum C = 7;
} else version (AArch64) {
enum C = 17;
} else {
static assert(0... | |||
July 29 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...x86_64) {
int C = 7;
} else version (AArch64) {
int C = 17;
} else {
static assert(0... | |||
July 28 General » enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...version (x86_64) {
C = 7,
} else version (AArch64) {
C = 17,
} else {
static assert(0);
}
version... | |||
July 27 General » dmd now running tests on the Pi | |||
|---|---|---|---|
| |||
...Compiling on Ubuntu with #dlang dmd's #AArch64 cross compiler, linking and running on the... | |||
Copyright © 1999-2021 by the D Language Foundation