Re: casting on 64/32-bit environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley wrote:

> Well, if this data structure is shared with FORTRAN you'll have to do
> something similar on the FORTRAN side.  It'll be a different type:
> INTEGER*8 or somesuch.  I'm not a FORTRAN programmer.
> 
> But yes, long will work on all gcc targets I'm aware of.

All maintained Fortran compilers, including gfortran, support c_ptr data
type.  You can't very well port intentionally non-portable stuff to a
different architecture unless you correct such anachronisms.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux