change error to warning when a base class is not defined
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
26c7c807e9
commit
c579831a19
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class TypePass : private Dispatcher {
|
|||
if (!ilist) ilist = NewList();
|
||||
Append(ilist,bcls);
|
||||
} 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