rootcint: processing of #pragma directives

Pasha Murat (murat@cdfsga.fnal.gov)
Fri, 24 Oct 1997 18:06:32 GMT


Hello,

I'm hitting the same problem the second time, so I believe it deserves to be
reminded.

Right now (this has been discussed some time ago in the thread
"Rootcint and linear algebra classes") rootcint *ignores* "#pragma link"
directives in the processed include files themselves. Instead it
can generate LinkDef.h automatically by just looking at the names of
the input files. This imposes the following rules:

- each include file should contain definition of one and only one class;
- include file name should coinside with the class name (spelled in right case!)
minus extention.

may be everybody follow these rules by default but sometimes this
feature is pretty inconvenient... And after looking over the
documentation again I didn't find this feature described. May be I just
missed it, if not - it definitely deserves to be added (*in red*)
to the section "CINT as Dictionary Generator".

It seems to be reasonable if rootcint could process
#pragma directives from the input files.

Regards, Pasha.