RE: exclude a file from dictionary generation

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Wed, 01 Mar 2006 09:23:24 -0600


Hi Pietro,

Just surround the problematic code with

#ifndef __CINT__

#endif

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Pietro Govoni
Sent: Wednesday, March 01, 2006 8:44 AM
To: roottalk
Subject: [ROOT] exclude a file from dictionary generation

Dear ROOTers,

I am facing a problem linked to the dictionary generation in a compiled code.

Given the fact that I am working in a framework in which I develop my own code and it is not trivial to let
all the collaboration change it for me, I am looking to find a way to tell rootcint to ignore a header class.

The makefile of the framework authomatically passess all the headers to the rootcint in order
to let the dictionary be created.
Even if the specific class I am referring to is NOT in the LInkDef file, nevertheless rootcint is trying to do something with it.

The problem is that the class has some templated methods, where stl containers of the templated type appear. It seems that this is the problem with rootcint and, given the fact I actually do not need the dictionary for that class to be generated, I would like to put an instruction in the class itself to tell rootcint to ignore that class.

Is it possible?

Thank you very much for your kind attention, best regards

pietro govoni Received on Wed Mar 01 2006 - 16:25:59 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET