[ROOT] CINT fails when define-typedef within ROOT(3.03/09)

From: Ozgur COBANOGLU (Ozgur.Cobanoglu@cern.ch)
Date: Thu Mar 20 2003 - 18:17:46 MET


platform : pentium 3, linux7.2, ROOT 3.03/09

when I try to do this in a ROOT sesion :

{	#define long32 int
	typedef unsigned long32 eventMagicType;
	#define a ((eventMagicType)0)
}

it complains like that :

Note: macro handled as typedef int long32; FILE:/tmp/file2JZlG5_cint
LINE:3
Error: class,struct,union or type eventMagicType not defined 
FILE:/tmp/file2JZlG5_cint LINE:5
*** Interpreter error recovered ***

now what to do ?.. 

thanks

-- 
----------------------------------------------------------------
Ozgur Cobanoglu           E-posta: ozgur@nucleus.istanbul.edu.tr
Istanbul Universitesi     Tel:     0090-212-511-84-80
Nukleer Fizik Bolumu      Fax:     0090-212-519-08-34
Vezneciler Istanbul       Mobil:   0090-505-512-72-90
34459 Turkiye                   
----------------------------------------------------------------
Ozgur Cobanoglu          E-mail:   Ozgur.Cobanoglu@cern.ch 
CERN EP/AID              Tel:      +41 (22) 767 2382
CH-1211 Geneva 23        Fax:      +41 (22) 767 9585
Switzerland              Building: 53-R-024
----------------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET