change error to warning when a base class is not defined
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4ac505b4d4
commit
c45c6535f3
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class TypePass : private Dispatcher {
|
||||||
if (!ilist) ilist = NewList();
|
if (!ilist) ilist = NewList();
|
||||||
Append(ilist,bcls);
|
Append(ilist,bcls);
|
||||||
} else {
|
} else {
|
||||||
Swig_error(Getfile(bcls),Getline(bcls),"class '%s' must be defined before it is used as a base class.\n", bname);
|
Swig_warning(WARN_TYPE_UNDEFINED_CLASS,Getfile(bcls),Getline(bcls),"class '%s' must be defined before it is used as a base class.\n", bname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue