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:
Marcelo Matus 2004-11-16 00:38:17 +00:00
commit c579831a19

View file

@ -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);
}
}
}