On Sunday, 22 May 2022 at 03:02:17 UTC, rikki cattermole wrote:

This is a dub issue, it has nothing to do with the compiler.

Yea, there seem to be lots of dub issues, just looking for a workaround, hoping compiler features might save the day.

$ DFLAGS="..." dub ...

Thanks! This seems to work well for vibe-core 1.22.3 anyway:

```bash
cd vibe-core
dub build --compiler=dmd  # works
env DFLAGS="-Wno-deprecated" dub build --compiler=gdc-12 # also works
```

As a general bit of dev-culture advice, would you recommend that I file issues on packages that only build using `-Wno-deprecated` ?

Also, is there a way to compile gdc itself such that it's behavior is closer to dmd's when it comes to deprecated features? The `--disable-werror` configure flag looks like it only affects behavior while building the compiler itself.

Reply via email to