(j3.2006) kind conversion for intent(in), value dummy arguments

Craig Rasmussen crasmussen
Tue Sep 16 17:00:23 EDT 2008

On Sep 16, 2008, at 1:41 PM, Dan Nagle wrote:

> What if I had a math library supporting single and double, and
> I wrote it with value?  I suspect there's an inconvenience to be found
> for most (every?) convenience found.

Good point.  Some languages (Standard ML for one, as I recall) don't  
even allow conversion on assignment.  Fortran would be safer if it  
allowed no implicit type conversions.

I'd be interested to just know how the various compilers behave in  
this respect now.  I used to have several but now only two and one  
reports and error and one just a warning.  For MPI interfaces, I think  
the answer is just to use default kinds and allow C wrappers to untie  
the -i4/-i8 mess.


More information about the J3 mailing list