Hi, cint has problems to parse the header files of the new (0.7) version of GSL. Since everything worked fine with 0.6 this is some blow to me because I am heavily using GSL for numerics now. The Problem is the following wrapper for C++: ------------ begin gsl_interp.h --------------- #ifndef __GSL_INTERP_H__ #define __GSL_INTERP_H__ #include <stdlib.h> #undef __BEGIN_DECLS #undef __END_DECLS #ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # define __END_DECLS } #else # define __BEGIN_DECLS /* empty */ # define __END_DECLS /* empty */ #endif __BEGIN_DECLS /* evaluation accelerator */ typedef struct { size_t cache; /* cache of index */ size_t miss_count; /* keep statistics */ size_t hit_count; } gsl_interp_accel; /* ............................ */ __END_DECLS #endif /* __GSL_INTERP_H__ */ -------------- end gsl_interp.h ----------------------- which fails with the error Error: Unexpected EOF G__fgetstream():2 FILE:/afs/desy.de/user/k/koblitz/gsl/include/gsl_interp.h LINE:227 Advice: You may need to use +P or -p option gmake: *** [eventsampledict.cpp] Segmentation fault Everything compiles fine if I remove the C++ wrapper and wrap the header in my own header file: extern "C" { #include <gsl_interp.h> } This really seems to be either a bug or something that needs to be changed in the behaviour of CINT. Also I was not able to get a description of the flags +P or -p mentioned in the error message (before CINT segfaults!) at http://root.cern.ch/root/RootCintMan.html Does someone know what they mean? Cheers, Birger /------------------------------------------------------------\ | Birger Koblitz koblitz@mail.desy.de | | Max-Planck-Institut fuer Physik | | (Werner Heisenberg-Institut) | | DESY-FH1K Tel. (40) 8998-3971 | | Notkestr. 85 | | D-22603 HAMBURG | \------------------------------------------------------------/
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET