Skip to content
Snippets Groups Projects
Commit 03bc3487 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

Remove the Check and Assert defines. They have been depricated and flagged

by warnings since the last pro release.


git-svn-id: http://root.cern.ch/svn/root/trunk@16787 27541ba8-7e3a-0410-8455-c3a389f83636
parent 7a246137
No related branches found
No related tags found
No related merge requests found
// @(#)root/base:$Name: $:$Id: TError.h,v 1.7 2006/06/09 01:16:56 rdm Exp $ // @(#)root/base:$Name: $:$Id: TError.h,v 1.8 2006/10/18 09:26:58 rdm Exp $
// Author: Fons Rademakers 29/07/95 // Author: Fons Rademakers 29/07/95
/************************************************************************* /*************************************************************************
...@@ -80,18 +80,6 @@ R__EXTERN const char *kCheckMsg; ...@@ -80,18 +80,6 @@ R__EXTERN const char *kCheckMsg;
if (!(e)) Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \ if (!(e)) Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \
} while (0) } while (0)
// deprecated macros (will be removed in next release)
#define Assert(e) \
do { \
if (!(e)) Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \
Warning("", "please change Assert to R__ASSERT in %s at line %d", __FILE__, __LINE__); \
} while (0)
#define Check(e) \
do { \
if (!(e)) Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \
Warning("", "please change Check to R__CHECK in %s at line %d", __FILE__, __LINE__); \
} while (0)
R__EXTERN Int_t gErrorIgnoreLevel; R__EXTERN Int_t gErrorIgnoreLevel;
R__EXTERN Int_t gErrorAbortLevel; R__EXTERN Int_t gErrorAbortLevel;
R__EXTERN Bool_t gPrintViaErrorHandler; R__EXTERN Bool_t gPrintViaErrorHandler;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment