Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] last API possible changes
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-09-21 08:22:06


On Sep 20, 2009, at 6:12 PM, Samuel Thibault wrote:

> > Also, we have __hwloc_restrict everywhere in the public API, but
> also in
> > the manpages? Should we convert the latter into a regular "restrict"
> > keyword ?
>
> I had tried before already through the .cfg and that didn't work.
> Since
> we now have our own Makefile rules, I've just added a sed call, which
> also does the same for inline btw.
>

FWIW, is there a reason we're not using AC_C_RESTRICT in
configure.ac? This allows you to use "restrict" in C code everywhere;
it'll be #defined to something acceptable by the compiler if
"restrict" itself is not.

-- 
Jeff Squyres
jsquyres_at_[hidden]