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

Hackage trac at galois.com
Mon Aug 25 07:04:57 EDT 2008


#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


More information about the cabal-devel mailing list