There are 2 *independent* issues here which shouldn't be mixed together:
- should or should not user include ROOT include files
- why rootcint generates the diagnostics
Valery is discussing the 1st issue, whereas the second one seems to
be of more relevance. OK, in my turn I can report that it is *possible*
to include "Rtypes.h" on SGI IRIX 6.2 (gcc-compiled ROOT 1.02, 1.03)
- see output below.
Pasha.
--------------------------------------------------------------------------------
/cdf/upgrade/tracking/murat/psi>root
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 1.02/00 25 July 1997 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
CINT/ROOT C/C++ Interpreter version 5.13.17, Jul 5 1997
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] #pragma includepath /cdf/upgrade/root/v1_01/include
root [1] #include "Rtypes.h"
root [2] .g
... snip
0x5ffd46b0 Bool_t kTRUE=1
0x5ffd46b1 Bool_t kFALSE=0
... snip
--------------------------------------------------------------------------------