Hi, this strange behaviour is becouse of these few lines: #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif but this is not the problem of extern "C" { } but problem of #ifdef macros. I also noticed many problems with that part of cint which is responsible for preprocessing. Well it does not work as I would like to. Usually I was fixing such problems by running my macros through normal /lib/cpp (or cc -P -E) preprocessor, so I think it should also work in your case, but this is rather very crude method of fixing such problem and maybe there are some more elegant ways. Regards, Jarek On Wed, 28 Oct 1998, Eunil Won wrote: > > > Hello, > > I would like to run a vme control program in ROOT environment and > the first shot did't work out. Could someone please tell me what I > am doing wrong? (example, should I modify the header file? Should > I have vme controling part in separate shared object? or Should I > give up in using CINT for this purpose and make a standalone exe?) > > The error message is: > ----------- > root [0] .x reset.C > Error: Unexpected EOF G__exec_statement() FILE:/usr/include/sys/feature_tests.h > LINE:34 > Advice: You may need to use +P or -p option > *** Interpreter error recovered *** > NULL > root [1] > >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET