From: Federico Roncarolo <>
Date: Tue, 11 Jan 2005 16:35:56 +0100


I just upgraded my linux to SLC3 and installed the proper ROOT version. I've a problem compiling a code which was previously working fine and don't understand the error message:

TAnal.h: In member function `void TAnal::GoFitTresh()':
TAnal.h:1897: use of namespace `TMath' as expression
TAnal.h:1897: `mat' undeclared (first use this function)
TAnal.h:1897: (Each undeclared identifier is reported only once for each 

   function it appears in.)
TAnal.h:1897: syntax error before `)' token

In the code I just have:

 TMath *mat=new TMath();

the error is on the first line, at the declaration. TMath.h is of course included.

Any help?

Thanks a lot,
Federico Received on Tue Jan 11 2005 - 16:36:03 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET