Integer types used in libgfortran

FX fxcoudert@gmail.com
Wed May 25 14:11:00 GMT 2005


> The problem is that the library routine takes a *pointer* to an integer, and
> uses that to return the status. The object it points to must be of the
> correct type.

What about a strategy like the one used inside the I/O library, with
routines called such as:
int64_t extract_int (const void *p, int len) ?

But the int64_t should really be the largest integer type available
(which is not always int64_t, as PR 19308 reminds us), shouldn't it?

FX



More information about the Fortran mailing list