Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r3246
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-03-07 05:32:22


This goes with the C99 removal. It seems to fix debug-enabled build with
both gcc and pgi. But I am not familiar with valists, so somebody please
double-check.

Brice

Le 07/03/2011 11:30, bgoglin_at_[hidden] a écrit :
> Author: bgoglin
> Date: 2011-03-07 05:30:54 EST (Mon, 07 Mar 2011)
> New Revision: 3246
> URL: https://svn.open-mpi.org/trac/hwloc/changeset/3246
>
> Log:
> Fix va_start invokation in hwloc_debug
>
>
> Text files modified:
> trunk/include/private/debug.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Modified: trunk/include/private/debug.h
> ==============================================================================
> --- trunk/include/private/debug.h (original)
> +++ trunk/include/private/debug.h 2011-03-07 05:30:54 EST (Mon, 07 Mar 2011)
> @@ -23,7 +23,7 @@
> #ifdef HWLOC_DEBUG
> va_list ap;
>
> - va_start(s, ap);
> + va_start(ap, s);
> vfprintf(stderr, s, ap);
> va_end(ap);
> #endif
> _______________________________________________
> hwloc-svn mailing list
> hwloc-svn_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-svn
>