From 43e07da0f645e364e8f8d49ec0b86e5bf0d2b1d4 Mon Sep 17 00:00:00 2001
From: William S Fulton
-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.
-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.
-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.
-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.
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.@@ -1810,7 +1810,7 @@ message like this:
Multiple inheritance is not supported in Ruby.
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)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:
at example.i:11.
-example.i:18: Warning(401): Nothing known about base class 'Foo'. Ignored. +example.i:18: Warning 401: Nothing known about base class 'Foo'. Ignored.
-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.
-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.
-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').
-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.
-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: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: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.-- cgit v1.2.1-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)