Jeff Squyres, le Fri 18 Feb 2011 17:18:57 +0100, a écrit :
> /users/jsquyres/hg/hwloc-de-c99/tests/ports/include/windows.h:23:1: warning: function declaration isnât a prototype
This is expected.
> topology-aix.c: In function âhwloc_aix_set_thisproc_cpubindâ:
> topology-aix.c:90:18: warning: ISO C90 forbids specifying subobject to initialize
These should be fixed by separating initialization. I really don't want
to see a magic number of 0s :)
> topology-windows.c:164:4: warning: ISO C doesnât support unnamed structs/unions
There's not much possible here, the C microsoft API is simply like
this....
> topology-windows.c:318:17: warning: ISO C forbids assignment between function pointer and âvoid *â
> topology-windows.c:323:30: warning: assignment from incompatible pointer type
These are expected.
> topology-freebsd.c: In function âhwloc_freebsd_set_thread_cpubindâ:
> topology-freebsd.c:126:3: warning: passing argument 3 of âpthread_setaffinity_npâ from incompatible pointer type
> /usr/include/pthread.h:445:12: 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:150:3: warning: passing argument 3 of âpthread_getaffinity_npâ from incompatible pointer type
> /usr/include/pthread.h:450:12: note: expected âstruct cpu_set_t *â but argument is of type âcpuset_t *â
These are expected.
There rest should be possible to fix.
Samuel
|