#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?