[Mpi-forum] Compile problems with examples in MPI Standard
nmm1 at cam.ac.uk
Tue Jul 24 11:27:35 CDT 2012
On Jul 24 2012, Dries Kimpe wrote:
>This page might explain it:
It might, but it doesn't, and much of it says about this issue is
wrong. Compare what it says in 2.2 with C11 220.127.116.11 paragraph 2.
>"Equivalence" refers to the following key definition:
>An lvalue [see question 2.5] of type array-of-T which appears in an
>expression decays (with three exceptions) into a pointer to its first
>element; the type of the resultant pointer is pointer-to-T.
>(The exceptions are when the array is the operand of a sizeof or &
>operator, or is a literal string initializer for a character array.)
No, that's not relevant to this issue. That refers to C11 18.104.22.168,
but the relevant section is 22.214.171.124.
>In this case, we're passing the argument to operator &, which disables the
That would make the effects entirely different. Sorry, but that's
irrelevant to this case.
More information about the mpi-forum