[ET Trac] [Einstein Toolkit] #1186: Provide a version of CCTK_WARN which never returns
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Nov 26 13:56:04 CST 2012
#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).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1186#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list