
#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 chessai): I am opposed to this. I see no benefit, and agree with most of the criticism posted on reddit. Users of -Werror typically have the mindset that they want warningless code - because whichever warning flags they have enabled in tandem with -Werror are serving as guards against poor code. If they don't have this mindset, then I don't understand why they'd use -Werror. Deprecations happen, and things will break because of it. I don't agree with the lounging about on the issue on unordered-containers you mention because of breaking -Werror builds (I think anyone using -Werror ought to care enough to adapt to deprecations!), but I also don't think there should be any exceptions to -Werror. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16163#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler