
#339: cabal should force a rebuild when Extensions: or *-Options: change ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: Mac OS | ----------------------------+----------------------------------------------- I have removed -fglasgow-exts from the line Ghc-Options: -Wall -fglasgow-exts of my .cabal file, but otherwise no file did change. After that I was told to ./Setup.lhs configure and then ./Setup.lhs build The latter did not complain. Then I did: ./Setup.lhs clean and ./Setup.lhs build This time I ended up with compile errors. (Unfortunately I uploaded the package to Hackage before noticing this :-( The right way to fix this might be to (configure to) remind the user to clean the package before building (or to do that automatically). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/339 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects