[ET Trac] [Einstein Toolkit] #1939: Cactus: Add CCTK_VINFO, CCTK_VERROR, CCTK_VWARN

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Jan 19 18:45:40 CST 2017


#1939: Cactus: Add CCTK_VINFO, CCTK_VERROR, CCTK_VWARN
--------------------------+-------------------------------------------------
  Reporter:  eschnett     |       Owner:                     
      Type:  enhancement  |      Status:  new                
  Priority:  unset        |   Milestone:                     
 Component:  Cactus       |     Version:  development version
Resolution:               |    Keywords:                     
--------------------------+-------------------------------------------------

Comment (by rhaas):

 This fails to compile code like this for me:
 {{{
 CCTK_VINFO("Message without formatting");
 }}}
 I suspect this could be cured by using
 {{{
 #define CCTK_VINFO(...) CCTK_VInfo(CCTK_THORNSTRING,__VA_ARGS__)
 }}}
 ie only having the VA argument so that the error only shows up if no
 argument is passed to VINFO at all.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1939#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list