[ROOT] bug with rootcint

From: Mignon Alexis (mignon@ganil.fr)
Date: Wed Apr 10 2002 - 12:15:03 MEST


Hi,

I've already solved my problem  but I want to inform root developpers.

Passing a pointer on a function I had a problem with a ligne like
void SetSigmaEvol(float(*function)(float mean))
which compiles correctly but doesn't work while using rootcint with an 
error message like
unknown type float(*function)(floatmean) in function argument 

The problem is corrected by adding a space : 
void SetSigmaEvol(float (*function)(float mean))
                                     ^

-- 
Alexis Mignon
GANIL
Bd Henri Becqurel
14076 CAEN Cedex 5
France
tel: +(33) (0)231454680
e-mail : mignon@ganil.fr



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET