Re: [Mpi-forum] Reserved MPI_ prefix & namespace in C and Fortran
24 Aug
2012
24 Aug
'12
5:29 p.m.
On Aug 24 2012, Jeremiah Willcock wrote:
Forbidding use as a local name is important if you want to use that name as a macro in C or C++ (or Fortran with a CPP-like preprocessor). Thus, it might make sense to do that for at least some names as well, at least for the C and mpif.h bindings.
It is needed only in a translation unit (C) or program unit (Fortran) where a MPI module is used or a MPI header is included. There is no neeed to restrict it in other parts of the code. However, forbidding it being done everywhere isn't a major restriction. Regards, Nick Maclaren.
5082
Age (days ago)
5082
Last active (days ago)
0 comments
1 participants
participants (1)
-
N.M. Maclaren