subtle fix to -Fmicrosoft format adding in missing space
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4a9d73e532
commit
237f64a6e1
2 changed files with 16 additions and 13 deletions
|
|
@ -1,6 +1,21 @@
|
||||||
Version 1.3.41 (in progress)
|
Version 1.3.41 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
2010-01-11: wsfulton
|
||||||
|
Slight change to warning, error and diagnostic reporting. The warning number is no
|
||||||
|
longer shown within brackets. This is to help default parsing of warning messages by
|
||||||
|
other tools, vim on Unix in particular.
|
||||||
|
|
||||||
|
Example original display using -Fstandard:
|
||||||
|
example.i:20: Warning(401): Nothing known about base class 'B'. Ignored.
|
||||||
|
New display:
|
||||||
|
example.i:20: Warning 401: Nothing known about base class 'B'. Ignored.
|
||||||
|
|
||||||
|
Also subtle fix to -Fmicrosoft format adding in missing space. Example original display:
|
||||||
|
example.i(20): Warning(401): Nothing known about base class 'Base'. Ignored.
|
||||||
|
New display:
|
||||||
|
example.i(20) : Warning 401: Nothing known about base class 'Base'. Ignored.
|
||||||
|
|
||||||
2010-01-10: wsfulton
|
2010-01-10: wsfulton
|
||||||
Fix a few inconsistencies in reporting of file/line numberings including modifying
|
Fix a few inconsistencies in reporting of file/line numberings including modifying
|
||||||
the overload warnings 509, 512, 516, 474, 475 to now be two line warnings.
|
the overload warnings 509, 512, 516, 474, 475 to now be two line warnings.
|
||||||
|
|
@ -15,18 +30,6 @@ Version 1.3.41 (in progress)
|
||||||
/usr/share/swig/temp/trunk/Lib/swig.swg:312: . top . include . include
|
/usr/share/swig/temp/trunk/Lib/swig.swg:312: . top . include . include
|
||||||
/usr/share/swig/temp/trunk/Lib/swigwarnings.swg:39: . top . include . include . include
|
/usr/share/swig/temp/trunk/Lib/swigwarnings.swg:39: . top . include . include . include
|
||||||
|
|
||||||
2010-01-09: wsfulton
|
|
||||||
Slight change to warning, error and diagnostic reporting. The warning number is no
|
|
||||||
longer shown within brackets. This is to help default parsing of warning messages by
|
|
||||||
other tools, vim on Unix in particular.
|
|
||||||
|
|
||||||
Example original display using -Fstandard:
|
|
||||||
example.i:20: Warning(401): Nothing known about base class 'B'. Ignored.
|
|
||||||
New display:
|
|
||||||
example.i:20: Warning 401: Nothing known about base class 'B'. Ignored.
|
|
||||||
|
|
||||||
*** POTENTIAL INCOMPATIBILITY ***
|
|
||||||
|
|
||||||
2010-01-03: wsfulton
|
2010-01-03: wsfulton
|
||||||
Fix missing file/line numbers for typemap warnings and in output from the
|
Fix missing file/line numbers for typemap warnings and in output from the
|
||||||
-debug-tmsearch/-debug-tmused options.
|
-debug-tmsearch/-debug-tmused options.
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,7 @@ void Swig_error_msg_format(ErrorMessageFormat format) {
|
||||||
by now a switch is used to translated into one. */
|
by now a switch is used to translated into one. */
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case EMF_MICROSOFT:
|
case EMF_MICROSOFT:
|
||||||
fmt_line = "%s(%d)";
|
fmt_line = "%s(%d) ";
|
||||||
fmt_eof = "%s(999999)"; /* Is there a special character for EOF? Just use a large number. */
|
fmt_eof = "%s(999999)"; /* Is there a special character for EOF? Just use a large number. */
|
||||||
break;
|
break;
|
||||||
case EMF_STANDARD:
|
case EMF_STANDARD:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue