Rooters, I was trying to link some namespace-defined variables into CINT. I seemed to succeed getting namespaced classes in just by specifying the fully-qualified name; and in getting functions in by specifying the full prototype (ie #pragma link C++ function Namespace::functionname(par type1, partype2). But I could not get globals to link in. doing just: #pragma link C++ global Namespace::kGlobalVar; did not work; rootcint complained about an unknown global variable. The variable is defined in one of the header files like so: namespace Namespace { extern Double_t kGlobalVar; } I'm using ROOT 2.25/02 (CINT 5.14.47). Am I doing something wrong? George Heintzelman gah@bnl.gov
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET