Re: 1.02 include problem on linux x86

Valery Fine (fine@mail.cern.ch)
Mon, 15 Sep 1997 17:19:27 +0100


On 15 Sep 97 at 15:34, Rudi Lutter wrote:

> root [1] #include "Rtypes.h"

One doesn't need to include ANY ROOT includes into the
macro/command line script(s). It is "pre-included" but one must
include these inclcudes if he wants to compile his code with a
native C/C++ compiler.

Therefore to distinguish things one can apply _CINT_ macro
symbol as follows:

#ifndef _CINT_
# include ....
#endif

where _CINT_ is defined for macro and the ROOT command too by CINT
interpreter,

Hope this helps.
Valery
Dr. Valeri Faine (Valery Fine)
------------ ------------- Phone: +41 22 767 4921
CERN FAX : +41 22 767 7155
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine