Re: deprecating
"Roman Leshchinskiy" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc,gmane.comp.lang.haskell.cabal.devel |
|---|---|
| Message-ID | <8d1fac62d4812f2d4d4899ee7f3f7f34.squirrel@webmail.cse.unsw.edu.au> |
Bryan O'Sullivan wrote: > On Mon, Oct 22, 2012 at 4:14 PM, Simon Peyton-Jones > <[email protected]>wrote: > > >> Do you mean âsilently and foreverâ? >> > > I think that's what I mean, yes. > > As Johan notes, many of us run our continuous builds of our packages with > -Wall -Werror in order to keep them as clean as possible. Introducing a > deprecation thus forces me into some kind of response as my builds all > suddenly fail: I can either turn off -Werror for a package, or edit the > affected source files. It seems to me that hard-coding -Werror in source distributions is a mistake since it serves no real purpose other than breaking the package for everyone whenever a compiler introduces a new warning. You can compile with -Werror while developing, of course. But why have -Werror in the release? Roman