On Thu, Jul 1, 2010 at 15:56, Barry Smith <bsmith at mcs.anl.gov> wrote:

>  Don't have a good cure for this.
>

Not sure if this counts as "good", but

#ifdef __GNUC__
#  define PETSC_UNUSED __attribute((unused))
#else
#  define PETSC_UNUSED
#endif


PETSC_UNUSED static int TV_display_type(const struct _p_Vec *v)
{ ... }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100701/2405327f/attachment.html>

Reply via email to