[ET Trac] [Einstein Toolkit] #1639: CCTK_ATTRIBUTES

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Jul 1 00:29:12 CDT 2014


#1639: CCTK_ATTRIBUTES
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  jtao               
     Type:  defect     |      Status:  new                
 Priority:  minor      |   Milestone:                     
Component:  Cactus     |     Version:  development version
 Keywords:             |  
-----------------------+----------------------------------------------------
 In CommOverloadables.h

 #define ATTRIBUTES CCTK_ATTRIBUTE_NORETURN
 OVERLOADABLE(Exit)
 OVERLOADABLE(Abort)

 Exit and Abort are defined as functions returning an integer, but they are
 explicitly set with noreturn in CommOverloadables.h.

 This will also cause a warning for CCTK_VError (was set attribute as no
 return in the definition too), which calls CCTK_Abort that returns an
 integer.

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


More information about the Trac mailing list