From the D Blog: Driving with D
Max Samukha
maxsamukha at gmail.com
Tue Jun 8 09:08:20 UTC 2021
On Monday, 7 June 2021 at 10:38:08 UTC, Max Samukha wrote:
>
> Would be great if you did. Not a blocker, though.
However, this is a major pain:
```d
struct FP {
}
alias parse = () {
FP[] parts;
parts ~= FP();
return parts;
};
immutable s = parse();
extern(C) int main() {
return 0;
}
```
avr-gdc -fno-druntime ctfe.d
ctfe.d:3:1: error: 'object.TypeInfo' cannot be used with
'-fno-rtti'
3 | struct FP {
| ^
ctfe.d:3:1: error: 'object.TypeInfo' could not be found, but is
implicitly used
3 | struct FP {
| ^
d21: internal compiler error: Segmentation fault
0x178ae29 internal_error(char const*, ...)
More information about the Digitalmars-d-announce
mailing list