moveToGC

Mike Parker aldacron at gmail.com
Mon May 10 11:11:06 UTC 2021


On Monday, 10 May 2021 at 10:56:35 UTC, JG wrote:
> The following compiles with dmd but not with ldc on 
> run.dlang.io. Am I doing something wrong?

Please provide the error message(s) when asking questions like 
this. In this case:

```
onlineapp.d(15): Error: undefined identifier moveToGC
onlineapp.d(20): Error: undefined identifier moveToGC
```

Looks like moveToGC was added in 2.096:

https://github.com/dlang/druntime/commit/bf59d2dcc4eae068a37db169977eef3eb394cee6

Adding --version to the ldc command line at run.dlang.io shows 
it's running ldc 1.25.1, which is current with D 2.095.1.


More information about the Digitalmars-d-learn mailing list