Tue Nov 15 05:03:00 GMT 2005
This is PR1703. Support for cray pointers was added on October 24, 2005. You
will need to use a more recent compiler and the -fcray-pointer option.
ryan@avarice:~$ gfortran -v
Using built-in specs.
Configured with: ../configure --enable-languages=fortran --disable-nls
Thread model: posix
gcc version 4.1.0 20051112 (experimental)
ryan@avarice:~$ gfortran pointer.f
In file pointer.f:2
Error: Cray pointer declaration at (1) requires -fcray-pointer flag.
ryan@avarice:~$ gfortran -fcray-pointer pointer.f
From: email@example.com [mailto:firstname.lastname@example.org] On
Behalf Of ARC Murthy
Sent: Monday, November 14, 2005 7:23 AM
Subject: reg. compilation
I have small fortran program. This program contains a variable called
Pointer. This file has been compiled with intel fortran compiler and f77.
It is not compiling with g77 or g95 compiler. Herwith I am attaching a
small fortran file. Kindly have look into this file and suggest how to
overcome the pointer variable when compiling with g77 or g95. Any
compiling options are to be used?
help in this regard is highly appreciable.
Structural Engineering Research Centre
More information about the Gcc-help