There is also a problem, that these __hwloc_attributes defines don't
get through after install:
$ gcc -DHAVE_CONFIG_H -I.
-DSYSCONFDIR=\"/home/wesarg/opt/htop-dev/etc\"
-I/home/wesarg/opt/hwloc-dev/include -W -Wunused-parameter -Wall
-std=gnu99 -D_XOPEN_SOURCE_EXTENDED -g -O2 -MT htop-AffinityPanel.o
-MD -MP -MF .deps/htop-AffinityPanel.Tpo -c -o htop-AffinityPanel.o
`test -f 'AffinityPanel.c' || echo './'`AffinityPanel.c
In file included from /home/wesarg/opt/hwloc-dev/include/hwloc.h:856,
from Process.h:35,
from ProcessList.h:17,
from AffinityPanel.h:9,
from AffinityPanel.c:1:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_get_ancestor_obj_by_depthâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:95: warning: unused
parameter âtopologyâ
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_get_ancestor_obj_by_typeâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:107: warning: unused
parameter âtopologyâ
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_get_next_childâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:168: warning: unused
parameter âtopologyâ
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_get_common_ancestor_objâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:179: warning: unused
parameter âtopologyâ
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_obj_is_in_subtreeâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:195: warning: unused
parameter âtopologyâ
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_get_child_covering_cpusetâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:356: warning: unused
parameter âtopologyâ
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h: In function
âhwloc_get_shared_cache_covering_objâ:
/home/wesarg/opt/hwloc-dev/include/hwloc/helper.h:472: warning: unused
parameter âtopologyâ
I have attached the -E output for this AffinityPanel.c file.
Regards,
Bert
|