Hello,
There is something I do not understand about CINT and MAKECINT. Here is a simple macro I used for tests:
#include <iostream>
using std::cout;
/******************************************************************************/
void test__CINT__(void)
{
#ifdef __CINT__
cout<<"__CINT__\n";
#else
cout<<"NO __CINT__\n";
#endif
#ifdef __MAKECINT__
cout<<"__MAKECINT__\n";
#else
cout<<"NO __MAKECINT__\n";
#endif
}// end of function
/******************************************************************************/
And here is the output:
So it looks like MAKECINT is never defined and CINT is only defined in interpreter, which is not what is written in the User’s Guide.
Basically my question is which statement should I use to separate the following two cases:
- Code visible ONLY to root for compiled scripts.
- Code visible only when one compiles code using gcc (no ROOT involved).
How do I do that?
Thank you,
Siarhei.