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.
> 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.