From cae75f82226638691cfa1e85fc168f4b65ddce4d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 20 Jul 2008 12:09:18 +0000 Subject: Add a WARNING pragma --- docs/users_guide/using.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'docs/users_guide/using.xml') diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 3c19be5de2..4b3024ae9b 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -841,7 +841,7 @@ ghc -c Foo.hs of warnings which are generally likely to indicate bugs in your program. These are: , - , + , , , , @@ -919,15 +919,16 @@ ghc -c Foo.hs - : + : - + + warnings deprecations - Causes a warning to be emitted when a deprecated - function or type is used. Entities can be marked as - deprecated using a pragma, see . + Causes a warning to be emitted when a + module, function or type with a WARNING or DEPRECATED pragma + is used. See for more + details on the pragmas. This option is on by default. -- cgit v1.2.1