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

Reply via email to