cast to pointer from integer of different size

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Sep 10 18:58:00 GMT 2006


On Sun, Sep 10, 2006 at 02:45:05PM -0400, Jack Howarth wrote:
> Steve,
>     Certainly one could make that argument about the 32-bit build
> libgfortran (which doesn't show the warning), but what is the
> sense of g77 compatibility for 64-bit binaries? Is there any
> substantial amount of legacy g77 built 64-bit code to even
> both attempting to support that? Perhaps we should have
> a preprocessor if statement with different code depending
> on whether a 32-bit or 64-bit libgfortran is being built.
>              Jack

Why?  The code is casting to an int.  int and INTEGER are
corresponding types.  This is what g77's signal is documented
to return.

-- 
Steve



More information about the Fortran mailing list