[ROOT] rootcint options

From: Frankland John (frankland@ganil.fr)
Date: Thu May 29 2003 - 00:35:17 MEST


Hi all

Something I have done in one of my header files means that rootcint
produces the following output, rather than happily "dictionating" away as
usual (up to around 7 p.m. tonight - before, during and after this time I
was/am using v3.05/05 on a Linux RH8 machine with gcc3.2)
===>

Error: Too many '}' FILE:tmpfile LINE:275
Error: Unexpected EOF G__exec_statement() FILE:tmpfile LINE:276
Advice: You may need to use +P or -p option
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
!!!Removing KVMultiDetDict.cpp KVMultiDetDict.h !!!
Error: rootcint: error loading headers...

Looking in the last headers I modified I can't see the problem,
so I followed rootcint's advice and used the +P/-p options.
First of all, does anybody know what these are ?
They aren't listed when you type rootcint -h or rootcint -help,
neither can I find them on the website.

With option +P I get page after page of errors ("TObject.h: no such file"
etc. etc. - very reassuring) and finally the creation of a dictionary.
With option -p I get no errors and a nice dictionary.
If I take the "p/P" away I still find my previous problem.
Can somebody tell me what's going on please ?
And any hints on what stupid error I may have introduced into one of
my header files ?

Thanks a lot
John

-- 
John D. Frankland
Beam Coordinator
GANIL
B.P. 55027
14076 CAEN Cedex 05

tel: +33 (0)231454628
fax: +33 (0)231454665



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