summaryrefslogtreecommitdiff
path: root/Source/Modules/typepass.cxx
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2004-10-26 00:31:47 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2004-10-26 00:31:47 +0000
commita87db784efd2d044f9aa40930c19f1922e4f328e (patch)
treee1b7872e59fcf5683cec8536f7211175d8d48cb1 /Source/Modules/typepass.cxx
parentf6070b825f5f58bfd01b00efa863515669358ff2 (diff)
downloadswig-a87db784efd2d044f9aa40930c19f1922e4f328e.tar.gz
better warning for undefined base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules/typepass.cxx')
-rw-r--r--Source/Modules/typepass.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Modules/typepass.cxx b/Source/Modules/typepass.cxx
index 3da994f31..ba9d34525 100644
--- a/Source/Modules/typepass.cxx
+++ b/Source/Modules/typepass.cxx
@@ -198,9 +198,9 @@ class TypePass : private Dispatcher {
if (!bcls) {
if (!clsforward) {
if (!Getmeta(bname,"already_warned")) {
- Swig_warning(WARN_TYPE_UNDEFINED_CLASS, Getfile(bname),Getline(bname),"Nothing known about class '%s'. Ignored.\n", SwigType_namestr(bname));
+ Swig_warning(WARN_TYPE_UNDEFINED_CLASS, Getfile(cls),Getline(cls),"Nothing known about base class '%s'. Ignored.\n", SwigType_namestr(bname));
if (Strchr(bname,'<')) {
- Swig_warning(WARN_TYPE_UNDEFINED_CLASS, Getfile(bname), Getline(bname), "Maybe you forgot to instantiate '%s' using %%template.\n", SwigType_namestr(bname));
+ Swig_warning(WARN_TYPE_UNDEFINED_CLASS, Getfile(cls), Getline(cls), "Maybe you forgot to instantiate '%s' using %%template.\n", SwigType_namestr(bname));
}
Setmeta(bname,"already_warned","1");
}