From 7b721aeb46e4774c478b12844c85f2f85c7e371f Mon Sep 17 00:00:00 2001 From: allen Date: Sat, 3 Jul 1999 14:54:27 +0000 Subject: 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 --- src/param.ccl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/param.ccl') 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" { : :: -- cgit v1.2.3