[Issue 16665] static assert is only checked after the following dependent type declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 12 14:12:37 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=16665

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl

--- Comment #6 from Dennis <dkorpel at live.nl> ---
(In reply to Manu from comment #5)
> No version's, no imports, nothing... even in this code, here's the
> compiler's output:
> 
> time.d(20): error : undefined identifier `tm`

What compiler version are you using? I'm getting:

2.109
```
time.d(3): Error: undefined identifier `time_t`
time.d(3): Error: undefined identifier `tm`
time.d(1): Error: static assert:  "unsupported system"
```

2.110 (nightly):
```
time.d(1): Error: static assert:  "unsupported system"
```

--


More information about the Digitalmars-d-bugs mailing list