diff options
author | Christopher Faulet <[email protected]> | 2009-12-15 16:56:13 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-01-19 16:23:33 +0100 |
commit | 96773ebcef2fe5949695a4fd923343ec4b049087 (patch) | |
tree | 38d4645c7cff88529049aadef1c1d67616bd0d61 /erts/doc/src/erlc.xml | |
parent | 5fdb43ee9adb9081998a2428ba2e5b001c067393 (diff) | |
download | otp-96773ebcef2fe5949695a4fd923343ec4b049087.tar.gz otp-96773ebcef2fe5949695a4fd923343ec4b049087.tar.bz2 otp-96773ebcef2fe5949695a4fd923343ec4b049087.zip |
Add option -Werror in erlc(1)
Like in gcc, this option treats warnings as errors.
Diffstat (limited to 'erts/doc/src/erlc.xml')
-rw-r--r-- | erts/doc/src/erlc.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/doc/src/erlc.xml b/erts/doc/src/erlc.xml index 3859ac8365..395daa87e7 100644 --- a/erts/doc/src/erlc.xml +++ b/erts/doc/src/erlc.xml @@ -104,6 +104,10 @@ must be quoted. Terms which contain spaces must be quoted on all platforms.</p> </item> + <tag>-W<em>error</em></tag> + <item> + <p>Makes all warnings into errors.</p> + </item> <tag>-W<em>number</em></tag> <item> <p>Sets warning level to <em>number</em>. Default is <c><![CDATA[1]]></c>. |