Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 417823
Collapse All | Expand All

(-)Source/Modules/lang.cxx (-2 / +2 lines)
Lines 2623-2629 Link Here
2623
	  Delete(expected_name_resolved);
2623
	  Delete(expected_name_resolved);
2624
	}
2624
	}
2625
	if (illegal_name) {
2625
	if (illegal_name) {
2626
	  Swig_warning(WARN_LANG_RETURN_TYPE, input_file, line_number, "Function %s must have a return type. Ignored.\n", Swig_name_decl(name));
2626
	  Swig_warning(WARN_LANG_RETURN_TYPE, input_file, line_number, "Function %s must have a return type. Ignored.\n", Swig_name_decl(n));
2627
	  Swig_restore(n);
2627
	  Swig_restore(n);
2628
	  return SWIG_NOWRAP;
2628
	  return SWIG_NOWRAP;
2629
	}
2629
	}
Lines 2760-2766 Link Here
2760
    }
2760
    }
2761
    if (illegal_name) {
2761
    if (illegal_name) {
2762
      Swig_warning(WARN_LANG_ILLEGAL_DESTRUCTOR, input_file, line_number, "Illegal destructor name %s. Ignored.\n", Swig_name_decl(name));
2762
      Swig_warning(WARN_LANG_ILLEGAL_DESTRUCTOR, input_file, line_number, "Illegal destructor name %s. Ignored.\n", Swig_name_decl(n));
2763
      Swig_restore(n);
2763
      Swig_restore(n);
2764
      Delete(expected_name);
2764
      Delete(expected_name);
2765
      return SWIG_NOWRAP;
2765
      return SWIG_NOWRAP;
(-)Examples/test-suite/errors/expected.log (-13 / +13 lines)
Lines 227-243 Link Here
227
cpp_extend_destructors.i:85: Warning 302: previous definition of '~JStruct'.
227
cpp_extend_destructors.i:85: Warning 302: previous definition of '~JStruct'.
228
cpp_extend_destructors.i:100: Warning 302: Identifier '~LStruct' redefined (ignored),
228
cpp_extend_destructors.i:100: Warning 302: Identifier '~LStruct' redefined (ignored),
229
cpp_extend_destructors.i:98: Warning 302: previous definition of '~LStruct'.
229
cpp_extend_destructors.i:98: Warning 302: previous definition of '~LStruct'.
230
cpp_extend_destructors.i:24: Warning 521: Illegal destructor name ~NOT_CStruct. Ignored.
230
cpp_extend_destructors.i:24: Warning 521: Illegal destructor name CStruct::~NOT_CStruct(). Ignored.
231
cpp_extend_destructors.i:30: Warning 521: Illegal destructor name ~NOT_DStruct. Ignored.
231
cpp_extend_destructors.i:30: Warning 521: Illegal destructor name DStruct::~NOT_DStruct(). Ignored.
232
cpp_extend_destructors.i:44: Warning 521: Illegal destructor name ~NOT_EStruct. Ignored.
232
cpp_extend_destructors.i:44: Warning 521: Illegal destructor name EStruct::~NOT_EStruct(). Ignored.
233
cpp_extend_destructors.i:50: Warning 521: Illegal destructor name ~NOT_FStruct. Ignored.
233
cpp_extend_destructors.i:50: Warning 521: Illegal destructor name FStruct::~NOT_FStruct(). Ignored.
234
cpp_extend_destructors.i:65: Warning 521: Illegal destructor name ~NOT_GStruct. Ignored.
234
cpp_extend_destructors.i:65: Warning 521: Illegal destructor name GStruct::~NOT_GStruct(). Ignored.
235
cpp_extend_destructors.i:72: Warning 521: Illegal destructor name ~NOT_HStruct. Ignored.
235
cpp_extend_destructors.i:72: Warning 521: Illegal destructor name HStruct::~NOT_HStruct(). Ignored.
236
cpp_extend_destructors.i:81: Warning 521: Illegal destructor name ~NOT_IStruct. Ignored.
236
cpp_extend_destructors.i:81: Warning 521: Illegal destructor name IStruct::~NOT_IStruct(). Ignored.
237
cpp_extend_destructors.i:86: Warning 521: Illegal destructor name ~NOT_JStruct. Ignored.
237
cpp_extend_destructors.i:86: Warning 521: Illegal destructor name JStruct::~NOT_JStruct(). Ignored.
238
cpp_extend_destructors.i:92: Warning 521: Illegal destructor name ~NOT_KStruct. Ignored.
238
cpp_extend_destructors.i:92: Warning 521: Illegal destructor name KStruct::~NOT_KStruct(). Ignored.
239
cpp_extend_destructors.i:99: Warning 521: Illegal destructor name ~NOT_LStruct< int >. Ignored.
239
cpp_extend_destructors.i:99: Warning 521: Illegal destructor name LStruct< int >::~NOT_LStruct(). Ignored.
240
cpp_extend_destructors.i:99: Warning 521: Illegal destructor name ~NOT_LStruct< short >. Ignored.
240
cpp_extend_destructors.i:99: Warning 521: Illegal destructor name LStruct< short >::~NOT_LStruct(). Ignored.
241
:::::::::::::::::::::::::::::::: cpp_extend_redefine.i :::::::::::::::::::::::::::::::::::
241
:::::::::::::::::::::::::::::::: cpp_extend_redefine.i :::::::::::::::::::::::::::::::::::
242
cpp_extend_redefine.i:9: Warning 302: Identifier 'bar' redefined by %extend (ignored),
242
cpp_extend_redefine.i:9: Warning 302: Identifier 'bar' redefined by %extend (ignored),
Lines 312-319 Link Here
312
cpp_no_access.i:3: Warning 319: No access specifier given for base class 'foo' (ignored).
312
cpp_no_access.i:3: Warning 319: No access specifier given for base class 'foo' (ignored).
313
:::::::::::::::::::::::::::::::: cpp_no_return_type.i :::::::::::::::::::::::::::::::::::
313
:::::::::::::::::::::::::::::::: cpp_no_return_type.i :::::::::::::::::::::::::::::::::::
314
cpp_no_return_type.i:6: Warning 504: Function R must have a return type. Ignored.
314
cpp_no_return_type.i:6: Warning 504: Function S::R() must have a return type. Ignored.
315
cpp_no_return_type.i:10: Warning 504: Function UU must have a return type. Ignored.
315
cpp_no_return_type.i:10: Warning 504: Function U::UU() must have a return type. Ignored.
316
:::::::::::::::::::::::::::::::: cpp_nobase.i :::::::::::::::::::::::::::::::::::
316
:::::::::::::::::::::::::::::::: cpp_nobase.i :::::::::::::::::::::::::::::::::::
317
cpp_nobase.i:3: Warning 401: Nothing known about base class 'Bar'. Ignored.
317
cpp_nobase.i:3: Warning 401: Nothing known about base class 'Bar'. Ignored.

Return to bug 417823