[project @ 2002-11-20 09:37:45 by simonpj]
authorsimonpj <unknown>
Wed, 20 Nov 2002 09:37:48 +0000 (09:37 +0000)
committersimonpj <unknown>
Wed, 20 Nov 2002 09:37:48 +0000 (09:37 +0000)
commit34a10d6614fa3546b360fc13b5386b1d86848190
treec9f5fe54ad08f2caa518348778e908c0cf4a4a21
parentdac19c07b199bcce81cd29a8f858af7f97e9a21e
[project @ 2002-11-20 09:37:45 by simonpj]
-----------------------------------------------
Add -Werror flag, which makes warnings fatal
-----------------------------------------------

-Werror is standard gcc-ism; it makes warnings into fatal errors
so you don't miss them in a batch compile.

Fairly easy to implement, by modifying ErrUtils.errorsFound

Suggested by Ashley Yakeley
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/ErrUtils.lhs
ghc/compiler/typecheck/TcRnMonad.lhs
ghc/docs/users_guide/flags.sgml
ghc/docs/users_guide/using.sgml