diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-03 14:54:27 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-03 14:54:27 +0000 |
commit | 7b721aeb46e4774c478b12844c85f2f85c7e371f (patch) | |
tree | fe155b7e286be172ea83596f457c6788972e757e /src/param.ccl | |
parent | 393215a1f63d91cf68f9d5e70b7f16b9d90f5780 (diff) |
Changed CCTK_Warns t CCTK_WARN so that I can try and pass thorught the
line number and file name to the Warn message. This hass problems:
1) I really need to include cctk.h then (for some reason) in WarnLevel.h,
but then I guess the Fortran name for CCTK_Warn is CCTK_WARN so it
doesn't much care for me having a macro for CCTK_WARN.
2) Now I need three fortran strings to be passed into C. This works at
the moment on Linux, but not on other machines, so you may need to
run with warnings off for a little while.
3) Fortran doesn't get the file name, because (?) it is actually
something from a pipe which gets preprocessed and not the file.
I have no idea how to fix this.
I may just scrap all this, but I want to persevere a bit
Oh, there is a new parameter cctk_full_warnings (default yes for now)
which gives the old style warnings with no.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@618 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/param.ccl')
-rw-r--r-- | src/param.ccl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/param.ccl b/src/param.ccl index 99ec215d..c275a005 100644 --- a/src/param.ccl +++ b/src/param.ccl @@ -4,6 +4,10 @@ private: +LOGICAL cctk_full_warnings "Give detailed information for each warning statement" +{ +} "yes" + LOGICAL cctk_strong_param_check "Die on parameter errors in CCTK_PARAMCHECK" { : :: |