You have to add
#include <TError.h>
Cheers, Fons.
OKUMURA, Akira wrote:
> Hello ROOTers,
>
> The following macro dose not compile.
>
> void tmp()
> {
> gErrorIgnoreLevel = 5000;
> return;
> }
>
> root [64] .x tmp.C+
> /Users/oxon/./tmp.C: In function 'void tmp()':
> /Users/oxon/./tmp.C:3: error: 'gErrorIgnoreLevel' was not declared in
> this scope
>
> How can I set gErrorIgnoreLevel when I compile a macro ?
>
> OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
> Institute for Cosmic Ray Research, University of Tokyo
> 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan
> Phone/Fax : +81 4-7136-3153
> Skype : okumura.akira
>
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers_at_cern.ch Phone: +41 22 7679248 WWW: http://fons.rademakers.org Fax: +41 22 7669640Received on Thu Jan 26 2006 - 11:12:02 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET