aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2004-04-27 16:23:28 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2004-04-27 16:23:28 +0000
commitf9a8ae7d783a2c2b53a3bfe076d9a4892f3712e5 (patch)
tree1e9fbf43f538f1e59a49402c1699931645c9274f /src
parent3887e67d79703d2fa5d0d48526f57fb5b7bde071 (diff)
* change fatal-error CCTK_VWarn() level from -1 to 0
* introduce SERIOUS_WARNING macro for "level 1" errors git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1312 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r--src/include/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/config.h b/src/include/config.h
index 0da3f35..106fc1c 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -42,7 +42,8 @@ typedef CCTK_INT integer;
/* CCTK_VWarn() "warning level" for fatal errors (terminate execution) */
/* note low-level software uses error_exit() instead of CCTK_VWarn(), */
/* with exit codes defined in "stdc.h" */
-#define FATAL_ERROR (-1)
+#define FATAL_ERROR 0
+#define SERIOUS_WARNING 1
/******************************************************************************/