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                          phhargr...@lbl.gov
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to