Re: GUITEST and ROOTCINT

Fons Rademakers (Fons.Rademakers@cern.ch)
Thu, 07 May 1998 19:24:51 +0200


Hi Yves,

this has been fixed in the development version (not yet on the web).
To work around this problem you have to tell rootcint not to generate
I/O statements for the TGTextBuffer variables. Do this by putting an !
as first character in the comment field, like:

private:
TGTExtBuffer *fBuf; //! not in Streamer()

Cheers, Fons.

Yves Schutz wrote:
>
> I have tried to pass the guitest example through rootcint. To do so I have splitted the various classes into individual .h and
> .C files.
> the compilation of the dictionnary generated by rootcint gives me the following errors :
>
> g++ -g -fPIC -I/local2/cern/root/include -c wa98dict.C -o wa98dict.o
> wa98dict.C: In method `void YSMsgBox::Streamer(class TBuffer &)':
> wa98dict.C:6874: no match for `operator >>(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6875: no match for `operator >>(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6905: no match for `operator <<(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6906: no match for `operator <<(class TBuffer, class TGTextBuffer *)'
> wa98dict.C: In method `void YSSliders::Streamer(class TBuffer &)':
> wa98dict.C:6977: no match for `operator >>(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6978: no match for `operator >>(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6979: no match for `operator >>(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6980: no match for `operator >>(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6996: no match for `operator <<(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6997: no match for `operator <<(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6998: no match for `operator <<(class TBuffer, class TGTextBuffer *)'
> wa98dict.C:6999: no match for `operator <<(class TBuffer, class TGTextBuffer *)'
>
> Thanks for help .... Yves
> --
> Yves SCHUTZ GANIL (IN2P3 - CNRS) collaboration TAPS http://ganp03.in2p3.fr
> GANIL Telephone: (33) 2 31 45 47 01
> BP 5027 Fax : (33) 2 31 45 46 65
> F-14076 Caen e-mail : mailto:SCHUTZ@IN2P3.FR

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910