Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] Attribute unsed not regognized
From: Bert Wesarg (bert.wesarg_at_[hidden])
Date: 2010-03-26 06:44:51


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