From 96773ebcef2fe5949695a4fd923343ec4b049087 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 15 Dec 2009 16:56:13 +0100 Subject: Add option -Werror in erlc(1) Like in gcc, this option treats warnings as errors. --- erts/doc/src/erlc.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'erts/doc/src/erlc.xml') 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.

+ -Werror + +

Makes all warnings into errors.

+
-Wnumber

Sets warning level to number. Default is . -- cgit v1.2.3