Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] 1.0.2rc2 posted
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-07-21 05:27:41


Christopher Samuel, le Wed 21 Jul 2010 14:48:10 +1000, a écrit :
> CC libhwloc_ports_la-topology-freebsd.lo
> topology-freebsd.c: In function ?hwloc_freebsd_set_thread_cpubind?:
> topology-freebsd.c:123: warning: passing argument 3 of
> ?pthread_setaffinity_np? from incompatible pointer type
> /usr/include/pthread.h:448: note: expected ?const struct cpu_set_t *?
> but argument is of type ?cpuset_t *?
> topology-freebsd.c: In function ?hwloc_freebsd_get_thread_cpubind?:
> topology-freebsd.c:147: warning: passing argument 3 of
> ?pthread_getaffinity_np? from incompatible pointer type
> /usr/include/pthread.h:453: note: expected ?struct cpu_set_t *? but
> argument is of type ?cpuset_t *?
>
> Not sure if that's important.

That is expected: it's a conflict between linux and freebsd
declarations.

Samuel