[ET Trac] [Einstein Toolkit] #223: Make declaration of CCTK_ARGUMENTS safer

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Nov 8 08:50:45 CST 2011


#223: Make declaration of CCTK_ARGUMENTS safer
--------------------------+-------------------------------------------------
  Reporter:  eschnett     |       Owner:        
      Type:  enhancement  |      Status:  review
  Priority:  minor        |   Milestone:        
 Component:  Cactus       |     Version:        
Resolution:               |    Keywords:        
--------------------------+-------------------------------------------------

Comment (by knarf):

 How save it is to cast away a const declaration? Couldn't this not only
 cause a compiler warning, but also wrong execution because the compiler
 might have assumed variables to be const when in fact they were changed
 using a cast?

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


More information about the Trac mailing list