Problem accessing static const class member with cint

From: Jan Hartmann <hartmann_at_hiskp.uni-bonn.de>
Date: Wed, 28 Apr 2010 20:46:11 +0200


Hi,

I recently updated root from 5.18 to 5.26 and my code did not work properly any more. Finally I was able to track down the reason for this to the following problem:
Starting with version 5.24, I can no longer correctly access any static const data members with cint. I don't get any errors, but I get the wrong value (always 0).
For a minimal exmaple see attachment. I tried this on linux (x86, 32 and 64 bit) with gcc 3.5, 4.1 and 4.3.
Is this a known bug and is there any way around it?

Cheers,
Jan

-- 
Jan Hartmann
Helmholtz-Institut fuer Strahlen- und Kernphysik
Nussallee 14-16
D - 53115 Bonn / Germany
Tel.: +49 228 73 2547
Fax.: +49 228 73 2505

Received on Wed Apr 28 2010 - 20:46:29 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 28 2010 - 23:50:01 CEST