Re: [ROOT] win, rootcint and ref member warning

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Nov 18 2002 - 14:49:04 MET


Hi Axel,
   
I do not see this problem.
Could you run the following rootcint command
   
rootcint -f G__test.cxx test.h testLinkDef.h
      
//file --- test.h: ---
#ifndef test_h
#define test_h
#include "TObject.h"
class TestClass: public TObject {
 TestClass() {};
 virtual ~TestClass() {};
  ClassDef(TestClass,1)
};
#endif

//------file testLinkDef.h
#ifdef __CINT__

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ class TestClass+;

#endif

Rene Brun


On Mon, 18 Nov 2002, Axel Naumann wrote:

> Hi,
> 
> I was trying to use rootcint on the following class:
> --- test.h: ---
> #ifndef test_h
> #define test_h
> #include "TObject.h"
> class TestClass: public TObject {
>   TestClass() {};
>   virtual ~TestClass() {};
> };
> #endif
> ---
> 
> $ rootcint -f G__test.cxx test.h
> Limitation: Reference member not supported. Please use pointer
> FILE:C:\root/include\TGenericClassInfo.h LINE:28
> 
> Is that supposed to happen?
> Version: cvs current, win2k, MSVC6
> 
> Cheers, Axel.
> 
> _____
> 
> Axel Naumann, Kath Universiteit Nijmegen / NIKHEF, The Netherlands
> Experiment: D0 / Fermilab, USA. Phone: +1 (630) 840 8595
> http://www-d0.fnal.gov/nikhef
> 
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:18 MET