[ET Trac] [Einstein Toolkit] #1187: Cactus allows for negative error level

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Nov 26 09:19:19 CST 2012

#1187: Cactus allows for negative error level
 Reporter:  knarf        |       Owner:  knarf              
     Type:  enhancement  |      Status:  new                
 Priority:  minor        |   Milestone:                     
Component:  Cactus       |     Version:  development version
 Keywords:               |  
 Currently, Cactus allows to set a negative error level through the command
 line option. This leads to CCTK_WARN(0,"") not necessarily aborting. While
 this is not wrong by itself, a lot of code assumes an abort at that point.

 I propose to change CCTKi_SetErrorLevel() to only accept non-negative
 error levels and to change the command-parsing code to give an error
 message for that case as well. Patch is attached.

Ticket URL: <https://trac.einsteintoolkit.org/ticket/1187>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit

More information about the Trac mailing list