Hi Erkcan,
Erkcan Ozcan wrote on 06/28/2010 12:29 PM:
> Thanks a lot for the quick implementation. Two questions: > > 1-This is on svn I assume, will it appear in the next production release?
Yes and yes.
> 2-Can't I somehow cheat by writing some "smart" macro by isolating TObject.h etc. #includes inside some #if statement like: #if !defined(__CINT__), and #else gROOT->ProcessLine(".preproc")?
Probably not - the preprocessor needs to see Rtypes.h for things like ClassDef, so you cannot completely hide it from CINT, even with preproc turned on. This will only work for completely independent packages.
Another option is to not interpret your sources but use ACLiC:
.L mycode.C+
That uses the external preprocessor automatically for generating
dictionaries, and afterwards you can "just" use functions and types from
mycode.C.
Cheers, Axel.
> > On 28 Jun 2010, at 11:29, Axel Naumann wrote: >
This archive was generated by hypermail 2.2.0 : Tue Jun 29 2010 - 05:50:02 CEST