CINT bug with CPP macro

Here is a short example reproducing the problem:
With an include file, bits.h, as follows:

// Start of file
#define BIT(i) (1 << (i))
// End of file

from within an interactive ROOT session,
.L bits.h
std::cout << BIT(1) << ‘\n’;
outputs 1, instead of the expected 2.
I am using ROOT 3.05/05, CINT/ROOT 5.15.86, on an i686 Redhat 8.0 machine.


I just wanted to update that this problem was solved.

Masa Goto