Re: How to turn off warnings as errors

2022-05-23 Thread Iain Buclaw via D.gnu
Excerpts from rikki cattermole via D.gnu's message of Mai 22, 2022 7:18 am: > > On 22/05/2022 3:42 PM, Chris Piker wrote: >> As a general bit of dev-culture advice, would you recommend that I file >> issues on packages that only build using `-Wno-deprecated` ? > > You can do that, but usually th

Re: How to turn off warnings as errors

2022-05-21 Thread rikki cattermole via D.gnu
On 22/05/2022 3:42 PM, Chris Piker wrote: As a general bit of dev-culture advice, would you recommend that I file issues on packages that only build using `-Wno-deprecated` ? You can do that, but usually the reason it is like that is because nobody has worked on the project in a while and yo

Re: How to turn off warnings as errors

2022-05-21 Thread Chris Piker via D.gnu
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

Re: How to turn off warnings as errors

2022-05-21 Thread rikki cattermole via D.gnu
On 22/05/2022 2:56 PM, Chris Piker wrote: These are dub packages and I don't see how to set '-Wno-error' from the dub command line. Since I'm reluctant to change every dub.json file that I encounter, is there a global flag that will turn off -Werror for gdc? This is a dub issue, it has nothi

How to turn off warnings as errors

2022-05-21 Thread Chris Piker via D.gnu
Hi GDC I'm testing the new gdc version 12.1 by compiling vibe.d and various other packages. One problem that tripping me up when running commands like: ``` cd memutils dub build --compiler=gdc-12 ``` is that all deprecation warnings are treated as errors. (For my local build of gdc, '-12' h