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