#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 rhaas):
Having a VError macro sounds like a good idea to me (in case not all compilers support the noreturn attribute in the same manner). C99 supports variadic macros so we should be fine in all C code. C++ hopefully also uses the same preprocessor and supports the variadic macros as an extension (they are apparently in C++ 2011 whcih so far we do not require).