Re: [GHC] #16163: Don’t throw an error (by default) for use of DEPRECATED symbols under -Werror
GHC
ghc-devs at haskell.org
Thu Jan 10 07:18:17 UTC 2019
#16163: Don’t throw an error (by default) for use of DEPRECATED symbols under
-Werror
-------------------------------------+-------------------------------------
Reporter: m-renaud | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by svenpanne):
I am not sure that the proposed change is really an improvement: If I use
`-Werror` in the flags for my package, I want to be notified of every tiny
problem in my code and basically promise to fix to those problems quickly.
Probably my build system/CI even depends on the fact that those problems
result in failed build, otherwise one would have to wade through large log
files etc. If that's not what is intended, `-Wall` is probably the right
flag to use, not `-Werror`.
The main problem is the IMHO questionable change that adding `DEPRECATED`
pragmas should not require a major version bump. I don't really buy into
the artificial distinction between "information" and "warnings", both hint
at potential problems.
Just my 2c...
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16163#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list