summaryrefslogtreecommitdiff
path: root/src/main/WarnLevel.c
Commit message (Collapse)AuthorAge
* implement new flesh parameter cactus::info_formatjthorn2003-08-05
| | | | | | | | | | | | | to optionally provide timestamps for CCTK_INFO() / CCTK_VInfo() output the current implementation uses gettimeofday(2) to provide microsecond-precision timing info if this is available (Cactus checks this at configure time), otherwise it falls back to time(3) (which only gives 1 second precision) which is in the ISO C standard, and so should be available everywhere... git-svn-id: http://svn.cactuscode.org/flesh/trunk@3376 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed usused routines CCTKi_ExpectError() and CCTKi_ExpectOK().tradke2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3278 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Flush stdout before writing stderr for warnings.allen2003-07-07
| | | | | | | Fixes Cactus/1505 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3261 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed wrong number of arguments in calls to CCTK_VWarn().tradke2002-05-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2869 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_VParamWarn for variable argument listallen2002-05-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2840 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed checking of parameter value.tradke2001-12-10
| | | | | | | Closes Cactus/859. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2490 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing includes and fixed a couple of 'cast from const pointer' warnings.tradke2001-10-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2442 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing to new macros for FORTRAN_STRINGallen2001-09-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2357 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Duplicate warning messages from other processors than 0 to stdout.tradke2001-06-12
| | | | | | | Fixes PR Cactus-709. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2226 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_Info() calls CCTK_VInfo() so that stdout is flushed in there.tradke2001-06-01
| | | | | | | This closes PR Cactus-700. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2213 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed warning level typoallen2001-05-14
| | | | | | | Cactus/682 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2182 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add processor number to warnings (Cactus/635)allen2001-05-07
| | | | | | | | | Tidying of warnings given by warnings routines Always give full information for a terminal warning git-svn-id: http://svn.cactuscode.org/flesh/trunk@2154 17b73243-c579-4c4c-a9d2-2d5706c11dac
* In CCTK_VWarn(), check if the parameter 'cactus::cctk_full_warnings' wastradke2001-05-04
| | | | | | | | | already created and thus can be used. If not created it is assumed to be zero. This closes PR Cactus 656. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2141 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Report error/warning level changes with an info message rather than a warning.tradke2001-04-20
| | | | | | | | | This fixes the problem where the code terminated immediately after decreasing the error level to 1. Also fixed compiler warnings, formatted the code, completed grdoc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2131 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed grdoc.tradke2001-03-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2076 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding CCTK_ParameterLevel to get the current level of parameter checking.allen2001-02-24
| | | | | | | Rearranging file contents git-svn-id: http://svn.cactuscode.org/flesh/trunk@2048 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc, style-guidelines, ...goodale2000-10-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTK_Abort instead of exit to quitallen2000-07-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1731 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added ParameterGetallen2000-06-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1690 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for Fortran callsallen2000-05-10
| | | | | | | CCTK_Warn -> CCTK_VWarn where appropriate git-svn-id: http://svn.cactuscode.org/flesh/trunk@1639 17b73243-c579-4c4c-a9d2-2d5706c11dac
* removing USE_blalanfer2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1605 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added C version of CCTK_VInfo.tradke2000-04-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1530 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing compiler warningsallen2000-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1505 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bug fixlanfer2000-03-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1480 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_Info only on proc0lanfer2000-03-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1477 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed void returns to intsallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1290 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Capitalising include file namesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding USE_CCTK_PARAMETERS and changing format of warningallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1233 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More for the error checking...lanfer1999-11-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1173 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added variable argument CCTK_Warn.goodale1999-11-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1161 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing various things pointed to by compiling with -Wall.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1129 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor change.goodale1999-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1040 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Free some memory after a mallocallen1999-09-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@881 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New parameter stuff.goodale1999-08-26
| | | | | | | | | | | Now a non-active thorn's extensions to parameters shouldn't be valid, range checking is now done, even for strings, which must conform to a regular expression. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renaming functions and adding fortran bindingsallen1999-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@823 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Fortran binding for CCTKi_NotYetImplementedallen1999-07-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@799 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routine name changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed names for some functions which should just be internalallen1999-07-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@761 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change to C string for comopilerallen1999-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@736 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new warning CCTKi_NotYetImplementedallen1999-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@734 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_Info to go to stdout.goodale1999-07-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@644 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_Warns t CCTK_WARN so that I can try and pass thorught theallen1999-07-03
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Include file name changesallen1999-06-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@605 17b73243-c579-4c4c-a9d2-2d5706c11dac