On Friday, 11 August 2023 at 05:50:43 UTC, Joe Kappus wrote:
I noticed this yesterday when trying to package the dlang
onedrive client in Gentoo with GDC 13.2 and it failed since it
requires this.
It appears to have been removed when gdc became self-hosting in
gcc during the gcc-12 release
On Thursday, 31 August 2023 at 13:53:55 UTC, Zachary Yedidia
wrote:
The following code generates a warning when using GCC analyzer,
but I don't think the warning is valid.
```
struct Guard {
~this() {}
}
Guard lock() {
return Guard();
}
void bar() {
auto foo = lock();
}
```