On Thu, Jul 1, 2010 at 15:56, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"> Don't have a good cure for this.</div></blockquote><div><br></div><div>Not sure if this counts as "good", but</div><div><br></div><div>#ifdef __GNUC__</div></div><div># define PETSC_UNUSED __attribute((unused))</div>
<div>#else</div><div># define PETSC_UNUSED</div><div>#endif</div><div><br></div><div><br></div><div>PETSC_UNUSED static int TV_display_type(const struct _p_Vec *v)</div><div>{ ... }</div><div><br></div><div><br></div>