Hi!
When I have a "const" modifier in an object, the gcc complains about
the output written by rootcint:
class SubPacket: public TObject {
//...
const string SubPacketName;
//...
};
leads to
EventDict.cpp: In method
`void pamela::SubPacket::ShowMembers (TMemberInspector &, char *)':
EventDict.cpp:309: cannot convert `const string *' to `void *'
for argument `2' to
`ROOT::GenericShowMembers (const char *, void *, TMemberInspector &,
char *, bool)'
The line mentioned above is
ROOT::GenericShowMembers("const string", &SubPacketName, R__insp, strcat(R__parent,"SubPacketName."),true);
How can I avoid this error message?
Ole
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET