Hi Axel,
Thanks a lot for the quick implementation. Two questions:
1-This is on svn I assume, will it appear in the next production release?
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")?
Cheers,
e.
On 28 Jun 2010, at 11:29, Axel Naumann wrote:
> Hi Erkcan,
>
> that *was* impossible. Good point! I have now implemented it in the
> prompt interface: you can do "root [] .proproc" and it will toggle the
> external preprocessing on/off. Programatically you can do the same
> though gROOT->ProcessLine(".preproc").
>
> Note, though: this does not work for any file #including e.g. TObject,
> as it disables ROOT's ignore-include mechanism for include files (see
> TROOT::IgnoreInclude()).
>
> Cheers, Axel.
>
> Erkcan Ozcan wrote on 06/27/2010 12:50 PM:
>> Dear experts, >> >> I was wondering if it is possible to enable the use of an external preprocessor inside ROOT. I read that there are some command line options for CINT itself - what I want to do is to enable it within ROOT. I checked TCint documentation but did not see any mention of the preprocessor or passing command line arguments to TCint instances. >> >> Cheers, >> e. >>
-- In case they are not written explicitly, please be aware that my greetings and farewell are inherently implied in this email. V. Erkcan Ozcan Research Fellow University College London Dept. of Physics & AstronomyReceived on Mon Jun 28 2010 - 12:29:54 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 28 2010 - 17:50:01 CEST