I'm using visual studio 2010, Visual Fortran Compiler XE 220.127.116.11 [Intel(R) 64], Windows 7_64 and I have a snippet of a module:
USE, INTRINSIC :: ISO_C_BINDING
TYPE, BIND(C) :: tmp
INTEGER(c_int64_t) :: tmp2
END TYPE mesg_t
And I get the error message:
error #6684: This is an incorrect value for a kind type parameter in this context. [C_INT64_T]
Does this mean that C_INT64_T is not defined (.i.e. a negative kind). How do I pass to C an INT64_T type from Fortran in a portable way in Windows using the Intel compiler without the need to write a separate code to find the equivalent integer KIND in fortran? I have no problems in linux.