Re: rootcint sensitivity

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Mar 04 1999 - 13:29:54 MET


Hi Dave,

   I've fixed this problem in rootcint (the classname was not correctly
extracted from the pathname).

Cheers, Fons.


Dave Morrison wrote:
> 
> Hi all,
> 
> If I make a very simple class definition:
> 
> #include "Rtypes.h"
> 
> class A {
> public:
>  Int_t i;
> 
>  ClassDef(A,1)
> };
> 
> and run rootcint on it (and don't specify a LinkDef file) while sitting in the
> same directory as the one containing the header file, all is well, and I get a
> dictionary complete with methods like Streamer and ShowMembers.  If I move to a
> different directory and run rootcint from there like this
> 
> rootcint -f A_dict.C -c ../src/A.h
> 
> then these methods aren't generated.  However, if I do use a LinkDef file, I get
> these methods in both circumstances.  It looks to me like some slight
> inconsistency in how files are handled in the two situations.  For PHENIX
> software, as a rule, we don't build in the same directory as the source so this
> kind of thing actually has popped up.  Do others also see the same behavior?
> 
> Cheers,
> Dave
> 
> --
> David Morrison  Brookhaven National Laboratory  phone: 516-344-5840
>                 Physics Department, Bldg 510 C    fax: 516-344-3253
>                           Upton, NY 11973-5000  email: dave@bnl.gov

-- 
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
URL:    http://root.cern.ch/~rdm/



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET