[ROOT] rootcint and GSL

From: ribordy (Mathieu.Ribordy@umh.ac.be)
Date: Wed Sep 24 2003 - 14:24:07 MEST


Hello,
I have a class with a call to GSL. After compiling the classes, the 
generation of the dictionary fail

Error: Unexpected EOF G__fgetstream():2 
FILE:/usr/local/include/gsl/gsl_sf_result.h LINE:60
Advice: You may need to use +P or -p option
Limitation: can not handle macro _e(constgsl_sf_result_e10 
extern"C"{__BEGIN_DECLSstructgsl_sf_result_struct{doubleval;doubleerr;};typedefstructgsl_sf_result_structgsl_sf_result;structgsl_sf_result_e10_struct{doubleval;doubleerr;inte10;};typedefstructgsl_sf_result_e10_structgsl_sf_result_e10;intgsl_sf_result_smash_e(constgsl_sf_result_e10 
Use +P or -p option FILE:/usr/local/include/gsl/gsl_sf_result.h LINE:60
...

I'm ignorant how to do it. I guess a problem when reading the GSL include 
files. 
How can we say rootcint to ignore what is in the GSL include files ?

rootcint -f dico.cc -c -D__cplusplus -I/usr/local/include a.h b.h c.h
works fine until I include gsl in one of these files.

Any suggestion to this simple question or an example ?
thanks
	Mathieu



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET