#368: The "optimization" option in ~/.cabal/config does not work ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.4.0.1 Severity: minor | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: Linux | ---------------------------------+------------------------------------------
Comment(by mikolaj): I still see the problem with Cabal-1.10.1.0 (GHC 6.12.1). It's painful when you want to use assertions, since they are ignored with optimizations. The workaround I use is to do "cabal install --disable- optimization", but the extra option is easy to miss and then the assertions are useless. BTW, I'm still wondering why Haskellers apparently don't use assertions much. I also wonder, whey assertions are disabled by optimizations --- for some kinds of software, where crashes are acceptable, but wrong answers are not, I want to keep them even in super optimized release mode packages. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/368#comment:4> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel