diff options
author | panne <unknown> | 2000-02-25 14:55:54 +0000 |
---|---|---|
committer | panne <unknown> | 2000-02-25 14:55:54 +0000 |
commit | f83a5a68edb4b9dbdff1eebeed84527711efc728 (patch) | |
tree | 799ef59778a651b3cf48645e7775becb90284678 /ghc/driver/ghc.lprl | |
parent | 72512afb8186c5e383bd2341ad67709958f70eac (diff) | |
download | haskell-f83a5a68edb4b9dbdff1eebeed84527711efc728.tar.gz |
[project @ 2000-02-25 14:55:31 by panne]
Deprecations of variables now works, although the source location is
not yet reported correctly and the code needs some cleanup. Added a
new flag -fwarn-deprecations to the set of standard warnings. The
syntax of deprecations has been extended to deprecate types, classes,
or even constructors, although this does not work yet.
Diffstat (limited to 'ghc/driver/ghc.lprl')
-rw-r--r-- | ghc/driver/ghc.lprl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 7bff88a6d2..e3720e3fe7 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -272,6 +272,8 @@ warnings that you get all the time are -fwarn-overlapping-patterns -fwarn-missing-methods + -fwarn-missing-fields + -fwarn-deprecations -fwarn-duplicate-exports these are turned off by -Wnot. @@ -280,6 +282,7 @@ these are turned off by -Wnot. @StandardWarnings = ('-fwarn-overlapping-patterns', '-fwarn-missing-methods', '-fwarn-missing-fields', + '-fwarn-deprecations', '-fwarn-duplicate-exports'); @MinusWOpts = (@StandardWarnings, '-fwarn-unused-binds', |