Adding UNION/MAP -- Feedback and tips pls!

N.M. Maclaren nmm1@cam.ac.uk
Sat Mar 2 08:15:00 GMT 2013


On Mar 2 2013, W Spector wrote:
>
>The "." to separate component names does conflict with Fortran-90s 
>user-defined operator syntax.  Code should use "%" to be as unambiguous 
>and as Standard-conforming as possible.  So I would also add my vote 
>that, if it 'dot compatibility' implemented, it only be enabled via a 
>compatibility option.

Speaking as another user, I doubt that there is any other plan.  I use
gfortran for teaching MPI and OpenMP, and would get very, very unhappy
if there were such an extreme aberration available by default.

>Should UNION/MAP itself also be enabled by a compatibility option? 
>(Separate from a 'dot compatibility' option - if implemented?)

In my view, strongly "yes".  It's not just the usual GNU extension,
which are often considered for adding to the standard, but something
more like Cray pointers, which ARE enabled by an option.


Regards,
Nick Maclaren.



More information about the Fortran mailing list