MPI::SEEK_* because iostreams (well, ios_base, but I don't think that
should be included directly) can use SEEK_* as values in an enum, which
means that 'const int' is bad for them.
* Remove now useless comments in the cxx example programs
* include iostream after mpi.h so that our examples work with other MPI
implementations that don't try to be as friendly with the constants.
Refs trac:387
This commit was SVN r12125.
The following Trac tickets were found above:
Ticket 387 --> https://svn.open-mpi.org/trac/ompi/ticket/387
* Document --disable-mpi-cxx-seek
* Document that you need to include "mpi.h" after system-level
headers that create the SEEK_* constants
* Make the C++ examples follow this behavior (include "mpi.h" after
<iostream>)
This commit was SVN r12123.
The following Trac tickets were found above:
Ticket 387 --> https://svn.open-mpi.org/trac/ompi/ticket/387
unfortunately redefined some C library constants (SEEK_SET, SEEK_CUR,
SEEK_END). Scheesh -- who designed those bindings, anyway?
Most <stdio.h>'s and <iostream>'s are sane enough that if those values
are already #define'd, they won't redefine them. So various other
MPI's out there have counseled that if you want to compile with the
C++ MPI bindings, ensure to include "mpi.h" before <iostream> or
<stdio.h> (in C++ source files).
This commit was SVN r11511.
several weeks: marshaling hello world and ring examples in all 4
languages (C, C++, F77, F90), making them consistent and pretty, and
adding them to the build system in a non-intrusive way.
This commit was SVN r10792.