Re: CINT [ROOT] rootcint problem

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 06 2001 - 16:47:44 MEST


Hi Reiner,

It took me sometime to discover a nasty feature in CINT.
In your LinkDef.h file, you have:

#pragma link C++ class    RR-;

rootcint is confused by the number of blanks between class and RR-
If you just remove one blank, things will be OK.
#pragma link C++ class  RR-;

I assume that Masa will fix this feature.
Thanks for reporting the problem.

Rene Brun


Reiner Rohlfs wrote:
> 
> Hi ROOTteam
> 
> I use rootcint to generate a dictionary but without the Streamer() method.
> It worked fine for version 2.25, but now I'm using version 3.00/06 and
> rootcint generates a source code which cannot be compiled. I compile with SUN
> workshop 6.1
> 
> These are the commands I use with the attached files:
> 
> rootcint -f dictionary.cpp rr.h LinkDef.h
> CC -c -g -I/isdc_soft_platform/root/include dictionary.cpp
> 
> and this is the error message:
> "dictionary.cpp", line 36: Error: R__RR_name is not defined.
> 
> Do I miss something or is this a bug in rootcint?
> 
> Thanks Reiner.
> 
>   --------------------------------------------------------------------------------
> 
>                       Name: LinkDef.h
>    LinkDef.h          Type: Plain Text (TEXT/plain)
>                Description: LinkDef.h
> 
>                  Name: rr.h
>    rr.h          Type: Plain Text (TEXT/plain)
>           Description: rr.h



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:48 MET