RE:rootcint problem on Sun-Solaris

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Mon Feb 08 1999 - 14:20:36 MET


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



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