(j3.2006) One more thing for the C TR

Malcolm Cohen malcolm
Sun Oct 2 23:07:46 EDT 2011

>It would be useful if the C TR required a header file containing the
>values of the named constants in Table 15.2 in the 2008 standard, with
>the names specified there, maybe in upper case.

I disagree.  If the Fortran compiler has options that change the kind numbering, 
this would be the opposite of useful.

>I needed to test whether c_int == kind(0) (alternatively c_long) and

In F2008 you can have pass the storage size and check that.

................................Malcolm Cohen, Nihon NAG, Tokyo. 

More information about the J3 mailing list