Whats wrong with the following declaration of pointers
l_DocumentClass and l_UsePackage? When trying to link a shared library,
rootcint complains, and the library cant be loaded by root.
Thanks in Advance. Hajo!
This is rootcint output:
------------------------
[hajo@halimash cxx]$ make
Generating dictionary ...
*** Datamember LAVaDocumentAtt::l_DocumentClass: pointer to fundamental type
(need manual intervention)
*** Datamember LAVaDocumentAtt::l_UsePackage: pointer to fundamental type
(need manual intervention)
g++ -O -Wall -fPIC -I/cern/root/2.0b3/root/include -c lavaCint.cxx
THis is the header definition
-----------------------------
#include "TNamed.h"
class LAVaDocumentAtt : public TNamed {
private:
Text_t *l_DocumentClass; // Latex cmd documentclass
Text_t *l_UsePackage; // Latex cmd usepackages
public:
LAVaDocumentAtt();
LAVaDocumentAtt(const char *name, const char *title);
~LAVaDocumentAtt();
void SetDocumentClass(Text_t *options, Text_t *style);
void SetUsePackage(Text_t *options, Text_t *packages);
void Print();
Text_t *GetDocumentClass() {return l_DocumentClass;}
Text_t *GetUsePackages() {return l_UsePackage;}
ClassDef(LAVaDocumentAtt,1) // Latex document Attributes
};
#endif //________________________________________________________________________