Hi Mathieu, if you really need the gsl in your header file you can do something like: #ifndef __CINT__ #include <gsl/...> #else struct gsl_struct; #endif Cheers, Fons. On Wed, 2003-09-24 at 14:24, ribordy wrote: > 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 -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET