From 130f34e9dece00f9f0ff785921cdded1914b69de Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 19 Aug 2011 17:35:45 +0200 Subject: systools: add warnings_as_errors option --- lib/sasl/doc/src/systools.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/sasl/doc/src') diff --git a/lib/sasl/doc/src/systools.xml b/lib/sasl/doc/src/systools.xml index 883c9c372b..8c1c327d74 100644 --- a/lib/sasl/doc/src/systools.xml +++ b/lib/sasl/doc/src/systools.xml @@ -45,7 +45,8 @@ Name = string() UpFrom = DownTo = [Name | {Name,Descr}]  Descr = term() - Opt = {path,[Dir]} | restart_emulator | silent | noexec | {outdir,Dir} + Opt = {path,[Dir]} | restart_emulator | silent | noexec | {outdir,Dir} + | warnings_as_errors  Dir = string() Result = ok | error | {ok,Relup,Module,Warnings} | {error,Module,Error}  Relup - see relup(4) @@ -122,6 +123,8 @@

If the option noexec is provided, the function returns the same values as for silent but no relup file is created.

+

If the option warnings_as_errors is provided, warnings + are treated as errors.

@@ -130,7 +133,8 @@ Generate a boot script .script/.boot. Name = string() - Opt = src_tests | {path,[Dir]} | local | {variables,[Var]} | exref | {exref,[App]}] | silent | {outdir,Dir} + Opt = src_tests | {path,[Dir]} | local | {variables,[Var]} | exref | {exref,[App]}] + | silent | {outdir,Dir} | warnings_as_errors  Dir = string()  Var = {VarName,Prefix}   VarName = Prefix = string() @@ -232,6 +236,8 @@ Warnings and errors can be converted to strings by calling Module:format_warning(Warnings) or Module:format_error(Error).

+

If the option warnings_as_errors is provided, warnings + are treated as errors.

-- cgit v1.2.3