summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-07-21 21:02:40 +0100
committerIan Lynagh <ian@well-typed.com>2013-07-21 21:03:03 +0100
commitd3e0c76b32a5782d1d62c01dfc7e6f1e79bab5ef (patch)
tree91f55755ca226b66a15ceaedbcbe55116949b30b /docs
parent49fc268e2970cc295ca07bc2c014d421cabc392c (diff)
downloadhaskell-d3e0c76b32a5782d1d62c01dfc7e6f1e79bab5ef.tar.gz
Document -fwarn-pointless-pragmas; fixes #8049
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/using.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 1c75a3fd17..e882f8eefd 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>