strange gfortran problem

Brandon Allbery allbery.b at gmail.com
Thu Apr 26 23:02:50 PDT 2012


On Fri, Apr 27, 2012 at 01:14, Victor Eijkhout <eijkhout at tacc.utexas.edu>wrote:

> On Apr 26, 2012, at 11:22 PM, Jason Swails wrote:
> > The problem is that the behavior you are seeing is allowed under the
> Fortran standard
>
> I'll take your word for it. I ran into this when I compiling some software
> that used kind(5) as a synonym for INTEGER*4 (after all, 32k is 5 digits)
> and such, and I was getting type errors.
>

IBM claims:
http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlf101l.doc%2Fxlflr%2Fintkind.htm

*SELECTED_INT_KIND(R)*

    Returns a value of the kind type parameter of an integer data type that
represents all integer values n with -10R < n < 10R.

Neither -99,999 nor 99,999 fit in INTEGER*4.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120427/2de7f5b9/attachment.html>


More information about the macports-users mailing list