Because this is a significant flaw in the standard, implementations
will and do strive to work around it. Of course, any workaround is
non-portable because it will be non-compliant. For example, an
implementation may have the option to not define these in C++ in
case you want to use stdio.h .
Bill
On Dec 6, 2007, at 1:57 PM, Greg Lindahl wrote:
On Thu, Dec 06, 2007 at 11:30:43AM +0100, Dries Kimpe wrote:
One example of compile-time problems is the issue with SEEK_SET,
SEEK_CUR,
SEEK_END and the MPI C++ bindings.
Is this a place where MPI implementations are different? Yes, a
bug in
the standard, but no, not a source of unportability when moving to a
different MPI implementation.
-- greg
William Gropp
Paul and Cynthia Saylor Professor of Computer Science
University of Illinois Urbana-Champaign