[ET Trac] [Einstein Toolkit] #1186: Provide a version of CCTK_WARN which never returns

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Nov 27 07:14:39 CST 2012


#1186: Provide a version of CCTK_WARN which never returns
--------------------------+-------------------------------------------------
  Reporter:  hinder       |       Owner:     
      Type:  enhancement  |      Status:  new
  Priority:  minor        |   Milestone:     
 Component:  Cactus       |     Version:     
Resolution:               |    Keywords:     
--------------------------+-------------------------------------------------

Comment (by eschnett):

 I would instead implement CCTK_ERROR and its variants in the same way as
 CCTK_WARN, except for omitting the warning level and adding a noreturn
 attribute. I assume most compilers (that we care about) will understand
 such an attribute.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1186#comment:7>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list