[cvs-nhc98] patch applied (york-compiler98): Thread new cmdline flag for warnings down to FFI module.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Thu Aug 7 11:59:05 EDT 2008


Thu Aug  7 08:54:16 PDT 2008  Malcolm.Wallace at cs.york.ac.uk
  * Thread new cmdline flag for warnings down to FFI module.
  The new flag is called --[no]warnFFI, and its purpose is mainly to
  suppress the "non-primitive type used in foreign import" warnings
  that are generated for many of the prelude files.  (The usages being
  warned about are entirely OK, but this may not be obvious to the casual
  hacker.)

    M ./Flags.hs -2 +14
    M ./ForeignCode.hs -45 +44
    M ./MainNhc98.hs -2 +3
    M ./STGState.hs -3 +6
    M ./Util/Extra.hs -3 +10

View patch online:
http://darcs.haskell.org/york-compiler98/_darcs/patches/20080807155416-6871e-d8521a970352259b033b1f57d4da70a1834ea5cf.gz


More information about the Cvs-nhc98 mailing list