Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] excessive warnings from xlc w/ hwloc-trunk
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2012-02-19 15:52:46


On 2/19/2012 12:45 PM, Samuel Thibault wrote:
[snip[
> Ah, right, it's an inline, so we need to declare it first with the
> attribute, and then define it:
>
> static __hwloc_inline const char *
> hwloc_obj_get_info_by_name(hwloc_obj_t obj, const char *name) __hwloc_attribute_pure;
> static __hwloc_inline const char *
> hwloc_obj_get_info_by_name(hwloc_obj_t obj, const char *name)
> {
> ...
> }
>
> does it work that way?
>
> Samuel

Yes. That worked!
-Paul

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900