summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2010-01-09 00:56:02 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2010-01-09 00:56:02 +0000
commit43e07da0f645e364e8f8d49ec0b86e5bf0d2b1d4 (patch)
tree3b33f1862de68b5418f8f58fa87f2ef02a8953d0
parent1b3ca38023342b017f009c5e3f4f025497faa5ff (diff)
downloadswig-43e07da0f645e364e8f8d49ec0b86e5bf0d2b1d4.tar.gz
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
-rw-r--r--Doc/Manual/CSharp.html2
-rw-r--r--Doc/Manual/Java.html2
-rw-r--r--Doc/Manual/Lua.html2
-rw-r--r--Doc/Manual/Modules.html2
-rw-r--r--Doc/Manual/Python.html2
-rw-r--r--Doc/Manual/Ruby.html4
-rw-r--r--Doc/Manual/SWIGPlus.html8
-rw-r--r--Doc/Manual/Tcl.html2
-rw-r--r--Doc/Manual/Typemaps.html4
-rw-r--r--Doc/Manual/Warnings.html4
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 <tt>canthrow</tt> attribute you will get a warning message s
<div class="code">
<pre>
-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.
</pre>
</div>
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:
<div class="code">
<pre>
-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.
</pre>
</div>
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 &amp;b);
If declarations such as these appear, you will get a warning message like this:
</p>
<div class="shell"><pre>
-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.
</pre></div>
<p>
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
</p>
<div class="shell"> <pre>
-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.
</pre></div>
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:
<div class="shell">
<pre>
-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.
</pre>
</div>
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: </p>
<div class="code shell">
-<pre>example.i:5: Warning(802): Warning for Derived: Base Base2 ignored.<br>Multiple inheritance is not supported in Ruby.<br></pre>
+<pre>example.i:5: Warning 802: Warning for Derived: Base Base2 ignored.<br>Multiple inheritance is not supported in Ruby.<br></pre>
@@ -1810,7 +1810,7 @@ message like this: </p>
<div class="code shell">
-<pre>example.i:12: Warning(509): Overloaded spam(short) is shadowed by spam(int)<br>at example.i:11.<br> </pre>
+<pre>example.i:12: Warning 509: Overloaded spam(short) is shadowed by spam(int)<br>at example.i:11.<br> </pre>
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:
<div class="shell">
<pre>
-example.i:18: Warning(401): Nothing known about base class 'Foo'. Ignored.
+example.i:18: Warning 401: Nothing known about base class 'Foo'. Ignored.
</pre>
</div>
@@ -2031,7 +2031,7 @@ Therefore, when SWIG encounters this situation, it may generate a warning messag
<div class="shell">
<pre>
-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.
</pre>
</div>
@@ -2041,7 +2041,7 @@ or for statically typed languages like Java:
<div class="shell">
<pre>
-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.
</pre>
</div>
@@ -2091,7 +2091,7 @@ When wrapping an overloaded function, there is a chance that you will get an err
<div class="shell">
<pre>
-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').
</pre>
</div>
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:
<div class="code">
<pre>
-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.
</pre>
</div>
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
<div class="targetlang">
<pre>
-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:
<div class="targetlang">
<pre>
-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.
</pre>
</div>
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
<div class="shell">
<pre>
-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)
</pre>
</div>