From 43e07da0f645e364e8f8d49ec0b86e5bf0d2b1d4 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 9 Jan 2010 00:56:02 +0000 Subject: Update warnings to newer slightly modified warning format git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11810 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Doc/Manual/CSharp.html | 2 +- Doc/Manual/Java.html | 2 +- Doc/Manual/Lua.html | 2 +- Doc/Manual/Modules.html | 2 +- Doc/Manual/Python.html | 2 +- Doc/Manual/Ruby.html | 4 ++-- Doc/Manual/SWIGPlus.html | 8 ++++---- Doc/Manual/Tcl.html | 2 +- Doc/Manual/Typemaps.html | 4 ++-- Doc/Manual/Warnings.html | 4 ++-- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Doc/Manual/CSharp.html b/Doc/Manual/CSharp.html index a4bb9e2d1..324be63ec 100644 --- a/Doc/Manual/CSharp.html +++ b/Doc/Manual/CSharp.html @@ -987,7 +987,7 @@ without setting the canthrow attribute you will get a warning message s
-example.i:21: Warning(845): Unmanaged code contains a call to a SWIG_CSharpSetPendingException
+example.i:21: Warning 845: Unmanaged code contains a call to a SWIG_CSharpSetPendingException
 method and C# code does not handle pending exceptions via the canthrow attribute.
 
diff --git a/Doc/Manual/Java.html b/Doc/Manual/Java.html index fc5646c10..7ab997a11 100644 --- a/Doc/Manual/Java.html +++ b/Doc/Manual/Java.html @@ -1772,7 +1772,7 @@ If declarations such as these appear, you will get a warning message like this:
-example.i:12: Warning(515): Overloaded method spam(unsigned short) ignored.
+example.i:12: Warning 515: Overloaded method spam(unsigned short) ignored.
 Method spam(int) at example.i:11 used.
 
diff --git a/Doc/Manual/Lua.html b/Doc/Manual/Lua.html index e66c1c7f3..cc7663cd4 100644 --- a/Doc/Manual/Lua.html +++ b/Doc/Manual/Lua.html @@ -684,7 +684,7 @@ void foo(Bar &b); If declarations such as these appear, you will get a warning message like this:

-example.i:12: Warning(509): Overloaded spam(short) is shadowed by spam(int)
+example.i:12: Warning 509: Overloaded spam(short) is shadowed by spam(int)
 at example.i:11.
 

diff --git a/Doc/Manual/Modules.html b/Doc/Manual/Modules.html index 1b628f802..406bdeaef 100644 --- a/Doc/Manual/Modules.html +++ b/Doc/Manual/Modules.html @@ -138,7 +138,7 @@ base class's methods. Typically you will get a warning when the module name is m

-derived_module.i:8: Warning(401): Base class 'base' ignored - unknown module name for base. Either import 
+derived_module.i:8: Warning 401: Base class 'base' ignored - unknown module name for base. Either import 
 the appropriate module interface file or specify the name of the module in the %import directive.
 
diff --git a/Doc/Manual/Python.html b/Doc/Manual/Python.html index efa500c2d..7ed0da658 100644 --- a/Doc/Manual/Python.html +++ b/Doc/Manual/Python.html @@ -1710,7 +1710,7 @@ If declarations such as these appear, you will get a warning message like this:
-example.i:12: Warning(509): Overloaded spam(short) is shadowed by spam(int)
+example.i:12: Warning 509: Overloaded spam(short) is shadowed by spam(int)
 at example.i:11.
 
diff --git a/Doc/Manual/Ruby.html b/Doc/Manual/Ruby.html index 643a6daec..05457a906 100644 --- a/Doc/Manual/Ruby.html +++ b/Doc/Manual/Ruby.html @@ -1559,7 +1559,7 @@ you'll see a warning message like:

-
example.i:5: Warning(802): Warning for Derived: Base Base2 ignored.
Multiple inheritance is not supported in Ruby.
+
example.i:5: Warning 802: Warning for Derived: Base Base2 ignored.
Multiple inheritance is not supported in Ruby.
@@ -1810,7 +1810,7 @@ message like this:

-
example.i:12: Warning(509): Overloaded spam(short) is shadowed by spam(int)
at example.i:11.
+
example.i:12: Warning 509: Overloaded spam(short) is shadowed by spam(int)
at example.i:11.
diff --git a/Doc/Manual/SWIGPlus.html b/Doc/Manual/SWIGPlus.html index 8e051a0ec..1194a4c26 100644 --- a/Doc/Manual/SWIGPlus.html +++ b/Doc/Manual/SWIGPlus.html @@ -1616,7 +1616,7 @@ warning message like this:
-example.i:18: Warning(401): Nothing known about base class 'Foo'. Ignored.
+example.i:18: Warning 401: Nothing known about base class 'Foo'. Ignored.
 
@@ -2031,7 +2031,7 @@ Therefore, when SWIG encounters this situation, it may generate a warning messag
-example.i:4: Warning(509): Overloaded foo(long) is shadowed by foo(int) at example.i:3.
+example.i:4: Warning 509: Overloaded foo(long) is shadowed by foo(int) at example.i:3.
 
@@ -2041,7 +2041,7 @@ or for statically typed languages like Java:
-example.i:4: Warning(516): Overloaded method foo(long) ignored. Method foo(int)
+example.i:4: Warning 516: Overloaded method foo(long) ignored. Method foo(int)
 at example.i:3 used.
 
@@ -2091,7 +2091,7 @@ When wrapping an overloaded function, there is a chance that you will get an err
-example.i:3: Warning(467): Overloaded foo(int) not supported (no type checking
+example.i:3: Warning 467: Overloaded foo(int) not supported (no type checking
 rule for 'int').
 
diff --git a/Doc/Manual/Tcl.html b/Doc/Manual/Tcl.html index 8b8c74dc0..11d4b7010 100644 --- a/Doc/Manual/Tcl.html +++ b/Doc/Manual/Tcl.html @@ -1502,7 +1502,7 @@ If declarations such as these appear, you will get a warning message like this:
-example.i:12: Warning(509): Overloaded spam(short) is shadowed by spam(int)
+example.i:12: Warning 509: Overloaded spam(short) is shadowed by spam(int)
 at example.i:11.
 
diff --git a/Doc/Manual/Typemaps.html b/Doc/Manual/Typemaps.html index cd4c074f1..863d43f1f 100644 --- a/Doc/Manual/Typemaps.html +++ b/Doc/Manual/Typemaps.html @@ -3093,7 +3093,7 @@ SWIG can detect when the "optimal" attribute cannot be used and will ignore it a
-example.i:28: Warning(474): Method XX::create() usage of the optimal attribute in the out 
+example.i:28: Warning 474: Method XX::create() usage of the optimal attribute in the out 
 typemap at example.i:14 ignored as the following cannot be used to generate optimal code: 
 try {
   result = XX::create();
@@ -3115,7 +3115,7 @@ In fact SWIG attempts to detect this and will issue a warning something like:
 
 
-example.i:21: Warning(475): Multiple calls to XX::create() might be generated due to 
+example.i:21: Warning 475: Multiple calls to XX::create() might be generated due to 
 optimal attribute usage in the out typemap at example.i:7.
 
diff --git a/Doc/Manual/Warnings.html b/Doc/Manual/Warnings.html index 15f3aa9d2..fd5d4916a 100644 --- a/Doc/Manual/Warnings.html +++ b/Doc/Manual/Warnings.html @@ -44,8 +44,8 @@ During compilation, SWIG may generate a variety of warning messages. For exampl
-example.i:16: Warning(501): Overloaded declaration ignored.  bar(double)
-example.i:15: Warning(501): Previous declaration is bar(int)
+example.i:16: Warning 501: Overloaded declaration ignored.  bar(double)
+example.i:15: Warning 501: Previous declaration is bar(int)
 
-- cgit v1.2.1