diff options
author | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-12-10 14:37:01 +0000 |
---|---|---|
committer | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-12-10 14:37:01 +0000 |
commit | cc3aef29e93e18456accae9f6a0e6bc069745cd2 (patch) | |
tree | e8862c082e3b7d48b19515464a001a6368ab6676 /src/include | |
parent | 2cdc0f39794210f0c0adf446f18bc9e7e9bfc58a (diff) |
+= #defines for warning levels, as per Steve's suggestions in PR#1742
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3923 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cctk_WarnLevel.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/cctk_WarnLevel.h b/src/include/cctk_WarnLevel.h index c4347c06..8d28d05c 100644 --- a/src/include/cctk_WarnLevel.h +++ b/src/include/cctk_WarnLevel.h @@ -49,4 +49,17 @@ __attribute__ ((format (printf, 2, 3))) } #endif +/* suggested values for warning levels (courtesy of Steve, PR#1742) */ +#define CCTK_WARN_ABORT 0 /* abort the Cactus run */ +#define CCTK_WARN_ALERT 1 /* the results of this run will probably */ + /* be wrong, but this isn't quite certain, */ + /* so we're not going to abort the run */ +#define CCTK_WARN_COMPLAIN 2 /* the user should know about this, but */ + /* the results of this run are probably ok */ +#define CCTK_WARN_PICKY 3 /* this is for small problems that can */ + /* probably be ignored, but that careful */ + /* people may want to know about */ +#define CCTK_WARN_DEBUG 4 /* these messages are probably useful */ + /* only for debugging purposes */ + #endif |