[commit: ghc] master: Document -fwarn-pointless-pragmas; fixes #8049 (d3e0c76)

Ian Lynagh igloo at ghc.haskell.org
Sun Jul 21 22:38:04 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d3e0c76b32a5782d1d62c01dfc7e6f1e79bab5ef

>---------------------------------------------------------------

commit d3e0c76b32a5782d1d62c01dfc7e6f1e79bab5ef
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun Jul 21 21:02:40 2013 +0100

    Document -fwarn-pointless-pragmas; fixes #8049

>---------------------------------------------------------------

 docs/users_guide/using.xml |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 1c75a3f..e882f8e 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -1094,6 +1094,20 @@ test.hs:(5,4)-(6,7):
       </varlistentry>
 
       <varlistentry>
+        <term><option>-fwarn-pointless-pragmas</option>:</term>
+        <listitem>
+          <indexterm><primary><option>-fwarn-pointless-pragmas</option></primary>
+          </indexterm>
+          <indexterm><primary>warnings</primary></indexterm>
+          <indexterm><primary>pragmas</primary></indexterm>
+          <para>Causes a warning to be emitted when GHC detects that a
+          module contains a pragma that has no effect.</para>
+
+          <para>This option is on by default.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><option>-fwarn-warnings-deprecations</option>:</term>
         <listitem>
           <indexterm><primary><option>-fwarn-warnings-deprecations</option></primary>






More information about the ghc-commits mailing list