From 17b2dbcc0b5e4fcdbb77aa12d5db62422f2a3ac8 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 13 Jan 2004 00:46:59 +0000 Subject: [PATCH] added docs for -Werror and -w git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5619 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/main.cxx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/SWIG/Source/Modules/main.cxx b/SWIG/Source/Modules/main.cxx index 8bb08c42d..36a81eb6b 100644 --- a/SWIG/Source/Modules/main.cxx +++ b/SWIG/Source/Modules/main.cxx @@ -86,9 +86,15 @@ static const char *usage2 = (const char*)"\ -v - Run in verbose mode\n\ -version - Print SWIG version number\n\ -Wall - Enable all warning messages\n\ - -Wallkw - Enable warning messages for all the languages keywords\n\ - -Werror - Force to treat the warnings as errors\n\ - -w - Suppress warning number \n\ + -Wallkw - Enable keyword warnings for all the supported languages\n\ + -Werror - Force to treat warnings as errors\n\ + -w - Suppress/add warning messages by code. \n\ + Use ',' as separator and the +/- signs as follows \n\ + \n\ + -w+321,401,-402 \n\ + \n\ + where code 321(+) is added, and 401(no sign) and 402(-) \n\ + are suppressed. See documentation for code meanings.\n\ \n"; // Local variables