[Hackage] #341: Add a flag to turn warnings into errors

#341: Add a flag to turn warnings into errors ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: | ----------------------------+----------------------------------------------- I would like to be able to turn warnings into errors, so e.g. when Cabal says {{{ Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. }}} the build will fail. Adding a -Werror flag to the various cabal commands is probably the best way to implement this. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/341 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#341: Add a flag to turn warnings into errors ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by igloo): It would also then be important to be able to turn individual warnings off and on. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/341#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#341: Add a flag to turn warnings into errors ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): We'll need a significantly better logging system. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/341#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage