diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-05-01 08:22:24 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-05-01 08:22:24 +0000 |
commit | f8c30102cdc246af5720b3bc8f2211e352edda5f (patch) | |
tree | 9e19a103ea162434302a2890666a01e0847b841a /docs | |
parent | 37d2269b4402882ea82e07d4f51b1a8a1854b91a (diff) | |
download | haskell-f8c30102cdc246af5720b3bc8f2211e352edda5f.tar.gz |
document the current behaviour of -Wall, see #1292
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/using.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 88f9e5e600..a9ad52838e 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -839,7 +839,16 @@ ghc -c Foo.hs</screen> <term><option>-Wall</option>:</term> <listitem> <indexterm><primary><option>-Wall</option></primary></indexterm> - <para>Turns on all warning options.</para> + <para>Turns on all warning options that indicate potentially + suspicious code. The warnings that are + <emphasis>not</emphasis> enabled by <option>-Wall</option> + are:</para> + <itemizedlist> + <listitem><option>-fwarn-simple-patterns</option></listitem> + <listitem><option>-fwarn-tabs</option></listitem> + <listitem><option>-fwarn-incomplete-record-updates</option></listitem> + <listitem><option>-fwarn-monomorphism-restriction</option></listitem> + </itemizedlist> </listitem> </varlistentry> |