FWIW:
GASNet makes the assumption that every C++ compiler groks "inline" and
has never encountered any counter-examples.
-Paul
On 5/9/2012 8:54 PM, Christopher Samuel wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/05/12 07:40, Jeff Squyres wrote:
Huh -- really? I always thought that the C++ language itself
included the keyword "inline".
I asked via Twitter and got these responses..
# Inline was part of C++98 - the first c++ standard, and
# the inline kwd is in the cfront 1.0 ('86) source. So
# functionally, yes.
...and...
# This may be a different question than "have all C++
# compilers always accepted inline?"
I note that autoconf has an inline test for C:
http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/C-Compiler.html
But not for C++:
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/C_002b_002b-Compiler.html
So perhaps the fact that they've never needed to implement
such a test is in itself a good guide ?
cheers,
Chris
- --
Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
http://www.vlsci.unimelb.edu.au/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+rPAoACgkQO2KABBYQAh+fqwCfbsCOjeK5y+WEZnWQ1e+pQmQg
DhQAoJdN6S7IJpUZ51IlXbE0QJOI1jjI
=dWPv
-----END PGP SIGNATURE-----
_______________________________________________
hwloc-devel mailing list
hwloc-de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
--
Paul H. Hargrove phhargr...@lbl.gov
Future Technologies Group
HPC Research Department Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory Fax: +1-510-486-6900