From: <wsf...@us...> - 2012-05-23 20:24:30
|
Revision: 13111 http://swig.svn.sourceforge.net/swig/?rev=13111&view=rev Author: wsfulton Date: 2012-05-23 20:24:21 +0000 (Wed, 23 May 2012) Log Message: ----------- Fix some warning messages to correctly show class names. Modified Paths: -------------- trunk/Source/Modules/lang.cxx Modified: trunk/Source/Modules/lang.cxx =================================================================== --- trunk/Source/Modules/lang.cxx 2012-05-23 19:10:44 UTC (rev 13110) +++ trunk/Source/Modules/lang.cxx 2012-05-23 20:24:21 UTC (rev 13111) @@ -2623,7 +2623,7 @@ Delete(expected_name_resolved); } if (illegal_name) { - Swig_warning(WARN_LANG_RETURN_TYPE, input_file, line_number, "Function %s must have a return type. Ignored.\n", SwigType_namestr(name)); + Swig_warning(WARN_LANG_RETURN_TYPE, input_file, line_number, "Function %s must have a return type. Ignored.\n", Swig_name_decl(name)); Swig_restore(n); return SWIG_NOWRAP; } @@ -2760,7 +2760,7 @@ } if (illegal_name) { - Swig_warning(WARN_LANG_ILLEGAL_DESTRUCTOR, input_file, line_number, "Illegal destructor name %s. Ignored.\n", SwigType_namestr(name)); + Swig_warning(WARN_LANG_ILLEGAL_DESTRUCTOR, input_file, line_number, "Illegal destructor name %s. Ignored.\n", Swig_name_decl(name)); Swig_restore(n); Delete(expected_name); return SWIG_NOWRAP; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |