RE: rootcint failing when including Api.h

From: Pierre-Luc Drouin <pldrouin_at_physics.carleton.ca>
Date: Mon, 2 May 2005 22:51:41 -0400 (EDT)


I did a cvs checkout of Root

Thanks for help

On Mon, 2 May 2005, Philippe Canal wrote:

> Hi Pierre,
>
> Which version of ROOT did this use to work on?
> Until we correct the situation, use
> #ifndef __CINT__
> around the #include Api.h"
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
> On Behalf Of Pierre-Luc Drouin
> Sent: Monday, May 02, 2005 1:11 PM
> To: roottalk_at_pcroot.cern.ch
> Subject: [ROOT] rootcint failing when including Api.h
>
> Hi,
>
> I got the last version of root this morning and now when I run rootcint on
> a header file that includes Api.h I get the following error:
>
> Error: Symbol G__ClassInfocls is not defined in current scope
> FILE:/data/data006/pldrouin/root/include/G__ci.h LINE:3107
> Error: class,struct,union or type G__ClassInfo not defined
> FILE:/data/data006/pldrouin/root/include/BaseCls.h LINE:39
> Syntax error FILE:/data/data006/pldrouin/root/include/BaseCls.h LINE:42
> Syntax error FILE:/data/data006/pldrouin/root/include/BaseCls.h LINE:43
> Error: class,struct,union or type G__ClassInfo not defined
> FILE:/data/data006/pldrouin/root/include/Type.h LINE:36
> Syntax error FILE:/data/data006/pldrouin/root/include/Method.h LINE:42
> Syntax error FILE:/data/data006/pldrouin/root/include/Method.h LINE:44
> Syntax error FILE:/data/data006/pldrouin/root/include/Method.h LINE:47
> Error: Symbol G__ClassInfo is not defined in current scope
> FILE:/data/data006/pldrouin/root/include/Method.h LINE:115
> Error: Symbol belongingclass is not defined in current scope
> FILE:/data/data006/pldrouin/root/include/Method.h LINE:115
> Syntax error FILE:/data/data006/pldrouin/root/include/CallFunc.h LINE:45
> Syntax error FILE:/data/data006/pldrouin/root/include/CallFunc.h LINE:51
> Warning: Error occured during reading source files
> Warning: Error occured during dictionary source generation
>
> When I remove the include line rootcint works (but my code doesn't compile
> as expected). Is it normal? Do I have to use an "#ifndef __CINT__"
> condition around the include line to get rid of this error?
>
> Thanks
>
Received on Tue May 03 2005 - 04:51:49 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET