[MOAB-dev] [PATCH] scdtest.cpp: print what failed on error

Jed Brown jed at 59A2.org
Mon Nov 30 09:39:33 CST 2009


On Mon, 30 Nov 2009 09:22:11 -0600, Jason Kraftcheck <kraftche at cae.wisc.edu> wrote:
> Why do you want to change this from a function to a macro?

So that it can print where the error actually occurred instead of the
completely useless line number in the body of the inline function.
Also, don't use the first patch, the second was much better.

Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20091130/dd2d5c4a/attachment.pgp>


More information about the moab-dev mailing list