patch applied (ghc): More commandline flag improvements

Ian Lynagh igloo at earth.li
Mon Jun 16 11:42:04 EDT 2008


Mon Jun 16 07:29:17 PDT 2008  Ian Lynagh <igloo at earth.li>
  * More commandline flag improvements
  * Allow -ffoo flags to be deprecated
  * Mark some -ffoo flags as deprecated
  * Avoid using deprecated flags in error messages, in the build system, etc
  * Add a flag to en/disable the deprecated flag warning

    M ./compat/Makefile -1 +7
    M ./compiler/Makefile -3 +7
    M ./compiler/Makefile.ghcbin -1 +1
    M ./compiler/cmm/ZipDataflow.hs -1 +1
    M ./compiler/ghci/InteractiveUI.hs -4 +4
    M ./compiler/main/DynFlags.hs -186 +160
    M ./compiler/main/ErrUtils.lhs -1 +6
    M ./compiler/main/StaticFlags.hs -1 +1
    M ./compiler/parser/Lexer.x -3 +3
    M ./compiler/rename/RnNames.lhs -2 +2
    M ./compiler/rename/RnPat.lhs -1 +1
    M ./compiler/typecheck/Inst.lhs -2 +2
    M ./compiler/typecheck/TcBinds.lhs -3 +3
    M ./compiler/typecheck/TcClassDcl.lhs -1 +1
    M ./compiler/typecheck/TcDeriv.lhs -1 +1
    M ./compiler/typecheck/TcMType.lhs -3 +3
    M ./compiler/typecheck/TcSimplify.lhs -5 +5
    M ./compiler/utils/LazyUniqFM.lhs -1 +2
    M ./docs/comm/exts/ndp.html -3 +3
    M ./docs/users_guide/bugs.xml -1 +1
    M ./docs/users_guide/ffi-chap.xml -5 +2
    M ./docs/users_guide/flags.xml -2 +9
    M ./docs/users_guide/glasgow_exts.xml -2 +2
    M ./docs/users_guide/gone_wrong.xml -1 +1
    M ./docs/users_guide/using.xml -2 +16
    M ./libraries/Makefile +4
    M ./libraries/Makefile.local +2
    M ./mk/build.mk.sample -1 +1
    M ./mk/config.mk.in -2 +2
    M ./mk/package.mk -2 +2
    M ./utils/ext-core/lib/GHC_ExtCore/Unicode.hs -1 +1
    M ./utils/genprimopcode/Main.hs -2 +2
    M ./utils/hsc2hs/Main.hs -1 +1
    M ./utils/runghc/runghc.hs -1 +1

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080616142917-3fd76-d0e34e6b337500011348948c013a3c29f11c77d1.gz



More information about the Cvs-ghc mailing list