[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] debug_ missing



hi there,

i am writing on several classes for my simulation. therefor i am deriving
from TclObject. the implementation works fine but i allways get this
warning:

---snip---
warning: no class variable ODCControl::debug_
 
        see tcl-object.tcl in tclcl for info about this warning.
---snip---

but i have defined a variable debug_ in the c++ code and did a binding to
tcl:

---snip---
class ODCControl : public TclObject {
public:
  ODCControl();
  ...
};


ODCControl::ODCControl() : debug_(0) {
  ...
  bind("debug_", &debug_);
  ...
}
---snip---

any idea?

thanks,

od

-- 
   Oliver Dawid * [email protected] * http://www.fet.uni-hannover.de/~od/