RE:rootcint problem on Sun-Solaris

Masaharu Goto (MXJ02154@nifty.ne.jp)
Mon, 08 Feb 1999 22:20:36 +0900


Martin,

Concerned about using preprocessor with rootcint,

>Now if I pretend to need some definitions and run with -p, I get
>
>> $ rootcint gheader.cc -c -p header.h LinkDef.h
>> Error: No symbol
>#"/export/software/pub/root/root_v2.20.06/cint/include/stdio.h"#"typedeflongf
pos_t in current scope FILE:TROOT.h LINE:4

As far as I know, rootcint can not be used with preprocessor because
1) ROOT header files uses special macro and comments which are essential to
sharedlib integration. Using the preprocessor strips those important
information.
2) As you observed with Soraris2.6, some preprocessor generates unexpected
lines in the output file.

>We tried to fiddle around with running the preprocessor manually on the
>files and feeding the processed files to rootcint, trying to avoid the
>need for preprocessing in rootcint, but that creates more problems than
>it solves.

This does not help. The situation is the same.

Will you inform the development team why you need to use preprocessor?
What expression do you need preprocessing? We might be able to suggest
something then.

Masaharu Goto