Jeff Squyres, le Wed 09 May 2012 23:41:20 +0200, a écrit :
> On May 9, 2012, at 5:32 PM, Samuel Thibault wrote:
> >> +/* Note that if we're compiling C++, then just use the "inline"
> >> + keyword, since it's part of C++ */
> >> +#if defined(c_plusplus) || defined(__cplusplus)
> >> +# define __hwloc_inline inline
> > Well, I don't know which version of the C++ standard includes the inline
> > keyword.
> Huh -- really? I always thought that the C++ language itself included the keyword "inline".
Possibly. I don't really know much about C++. I'm just saying that
perhaps at least the very early C++ prototypes might not have it :)