RE:rootcint and defines

Masaharu Goto (MXJ02154@nifty.ne.jp)
Thu, 07 Jan 1999 22:08:12 +0900


Andrzej,

> I have found the reason the destructor was not provided in the
>examples below. I forgot to add public: before constructors and destructor
>prototypes. Is this obligatory?

I knew that the public: was missing. But rootcint shouldn't create odd source
file. I tried your header file on rootcint and 'cint -c-1'. Interestingly
enough, the problem only happend on rootcint. With 'cint -c-1' private
destructor does not appear anywhere in the code and everything works fine.
I am puzzled what is going on. Need to investigate more.

Masaharu Goto