#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):
We can't use { } in a macro without do...while; this would do very strange things if people called CCTK_VError in an if statement that also has an else branch.
The noreturn attribute would, same as all other attributes, be autoconfigured. It would be automatically left out if a compiler doesn't support it.