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] [PATCH] Use plain "inline" in C++
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-05-09 17:40:58

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

Just to be 100% totally clear: you're saying that's not the case? Because if so, we probably need a better solution than what I sent.

Jeff Squyres
For corporate legal information go to: