Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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]